John Labenski <jlaben...@...> writes:

> 
> On Sat, Nov 20, 2010 at 4:55 PM, Andre Arpin <ar...@...> 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


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to