Whenever i click in my RichEdit 2.0 control, i get a GDI32.DLL First chance exception, access violation. I call LoadLibrary("RICHED20.DLL") first as well. Anybody hear of this thing before?
Printable View
Whenever i click in my RichEdit 2.0 control, i get a GDI32.DLL First chance exception, access violation. I call LoadLibrary("RICHED20.DLL") first as well. Anybody hear of this thing before?
i realise this thread is 9 years old lol...
but im having the exact same problem, everything was working fine untill i rebooted and now its throwing this exception when i click and/or highlight text with the mouse. sometimes it does it when i move the main window?
Code:RichEditLibHinstance = LoadLibrary("Riched20.dll");
RichEdithWnd = CreateWindowEx(WS_EX_CLIENTEDGE, RICHEDIT_CLASS, "", WS_CHILDWINDOW | WS_VISIBLE | WS_CLIPSIBLINGS | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_AUTOHSCROLL | ES_AUTOVSCROLL, 0, 0, 320, 240, hwnd, (HMENU)IDC_RICHEDIT, GetModuleHandle(NULL), NULL);
has anybody figured this thing out in the last 9 years? lol
thanks