Hi, There are several problems with VC2005
The next empty array is not allowed // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxXmlResourceHandler_methods[] = { }; int wxXmlResourceHandler_methodCount = sizeof(wxXmlResourceHandler_methods)/sizeof(wxXmlResourceHandler_methods[0]); I can put a sort of dummy in there to get it compiled, but maybe there is a better solution. static int LUACALL wxLua_wxFileDialogDefault_constructor(lua_State *L) { wxLuaState wxlState(L); wxFileDialog *returns; // call constructor returns = new wxFileDialog(NULL); Here the NULL is required. The next linking errors i don't understand yet. link /NOLOGO /OUT:..\..\..\bin\vcd_lib\wxlua.exe /LIBPATH:D:\soft\wxwin \wxWidgets-2.8.0\lib\vc_lib /DEBUG /LIBPATH:..\..\..\lib\vc_lib /LIBPATH:..\..\ ..\modules\lua\lib /SUBSYSTEM:WINDOWS @C:\DOCUME~1\klaas\LOCALS~1\Temp\nm34.tmp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; us e /NODEFAULTLIB:library wxlua_msw28d_wxbind.lib(wxbind_lib_wx_bind.obj) : error LNK2019: unresolved exte rnal symbol "public: static class wxCursor const __cdecl wxBusyCursor::GetBusyCu rsor(void)" ([EMAIL PROTECTED]@@SA?BVwxCursor@@XZ) referenced in funct ion "public: __thiscall wxBusyCursorSuspender::~wxBusyCursorSuspender(void)" (?? 1wxBusyCursorSuspender@@[EMAIL PROTECTED]) wxlua_msw28d_wxbind.lib(wxbind_lib_defsutil.obj) : error LNK2019: unresolved ext ernal symbol "public: static class wxCursor const & __cdecl wxBusyCursor::GetSto redCursor(void)" ([EMAIL PROTECTED]@@SAABVwxCursor@@XZ) referenced i n function "public: __thiscall wxBusyCursorSuspender::wxBusyCursorSuspender(void )" (??0wxBusyCursorSuspender@@[EMAIL PROTECTED]) ..\..\..\bin\vcd_lib\wxlua.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\link.EXE' : return code '0x46 0' Stop. NMAKE : fatal error U1077: 'C:\tools\vc2005\VC\BIN\nmake.exe' : return code '0x2 ' Regards, Klaas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users