listview & Win98
-
ok, I'm working in win32 here, no MFC, when trying to create a listview control in a class I get the following err: First-chance exception in pool.exe (COMCTL32.DLL): 0xC0000005: Access Violation. Now, this err is on Win98 with IE 5.01 the code works fine on WinXP with IE6 it errs right on CreateWindowEx(). I tried just starting a new win32 app and cutting n pasting the code to create the listview n it works fine on that Win98. So my question is what could be the problem, is it the class? :wtf:
-
ok, I'm working in win32 here, no MFC, when trying to create a listview control in a class I get the following err: First-chance exception in pool.exe (COMCTL32.DLL): 0xC0000005: Access Violation. Now, this err is on Win98 with IE 5.01 the code works fine on WinXP with IE6 it errs right on CreateWindowEx(). I tried just starting a new win32 app and cutting n pasting the code to create the listview n it works fine on that Win98. So my question is what could be the problem, is it the class? :wtf:
Try calling
InitCommonControlsEx
first
Author of the romantic comedy Summer Love and Some more Cricket [New Win]
-
Try calling
InitCommonControlsEx
first
Author of the romantic comedy Summer Love and Some more Cricket [New Win]
I do call InitCommonControlsEx already, thats why it works when I try it outside of the class and why I don't get why it'd be causing that err.
-
ok, I'm working in win32 here, no MFC, when trying to create a listview control in a class I get the following err: First-chance exception in pool.exe (COMCTL32.DLL): 0xC0000005: Access Violation. Now, this err is on Win98 with IE 5.01 the code works fine on WinXP with IE6 it errs right on CreateWindowEx(). I tried just starting a new win32 app and cutting n pasting the code to create the listview n it works fine on that Win98. So my question is what could be the problem, is it the class? :wtf:
does anyone code on Win98 anymore? after hours trying to pinpoint the problem I found this: if I set the handle of the parent in CreateWindowEx() to that of a window created in a class it fails, setting the handle of a global parent works ok, so is this a known problem on 98? CreateWindowEx(....., CWinA::hWnd,...) fails CreateWindowEx(....., ghWnd,...) is ok and yes, CwinA::hWnd is a static public member of the class, so I'm at a loss as to the problem, I'm looking for any ideas here ppl :)