From: Andre A. <ar...@ki...> - 2010-11-27 15:20:37
|
John Labenski <jlabenski@...> writes: > > On Sat, Nov 20, 2010 at 4:55 PM, Andre Arpin <arpin@...> wrote: > > The following modification allow wx.dll to work on window 7 / 64 bits. > > Without it you get a warning specifiying that comctl32.dll is not loaded. > > Why this suddenly happen is unknowned and will probably remain this way. > > > > // Override the base class virtual functions > > bool wxLuaModuleApp::OnInit() > > { > > #ifdef __WXMSW__ > > wxDynamicLibrary comctl32(_T("comctl32.dll"), wxDL_NOW); > > #endif > > return true; > > } > Sorry to tell you that ::LoadLibrary(_T("comctl32.dll")); has to be used. I think that I managed to lock the comctl32.dll permanently when I tested wxDynamicLibrary. Andre |