|
-
April 8th, 1999, 04:08 PM
#1
RichEdit control GDI32.DLL Violation?
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?
-
January 12th, 2008, 08:41 AM
#2
Re: RichEdit control GDI32.DLL Violation?
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
Last edited by crunchycoder; January 12th, 2008 at 08:45 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|