Original Post
Hi, I am trying to create an richedit box. I insert one onto my resource dialog box, and when I run the program, it just quits, won't load the box. The last line in the debug log says(I don't know if this means anything) The program '[1340] Fathers Day.exe: Native' has exited with code -1 (0xffffffff). I've linked to riched20.lib. I've also tried creating a richedit box when I init my dialog box using CreateWindow. However, this returns the error 1407(Cannot find class name). In other words, it doesn't thing RICHEDIT_CLASS means anything. I've also tried RichEdit20A, as well as many other things for the class variable. Can anyone help me as to what's going on?? Thanks alot, Levi (Alternatively, can anyone tell me how to limit the number of characters the user can enter in a NORMAL(not rich) edit box just using the API, not MFC.)