From: klaas.holwerda <kho...@xs...> - 2005-12-30 11:40:22
|
John Labenski wrote: >Yes, it's not compiled with debug info. Why do you want to debug into lua? > > So i can see on the stack where things are called from. It helps me to understand why things are organized the way they are. The only really existing documentation is on Lua itself. >>>I don't understand when you say the "next two become active"? Next two of what? >>> >>> >>> >Humm, the MSVC linker is too clever for its own good. But, the default >wxWidgets binding works in VC 2003, are you sure this is really the >case? > > Yes i am sure, i did test it again just now. If i outcomment them, my bindings are not initialized, and or not found. The debugger does not even stop there, and say at start that the breakpoints are invalid. Put them in again and everything works fine, and the debugger nicely stops too. >So... it works now? No need for a wxModule? > I don't think it works without problem, it only works under certain conditions. As soon one has his bindings inside a library, the main program must contain something from that library, else the library will not be linked. The order of initilization is something different from that. That it currently works for me, is because my intialization order seems to be oke, and i forces the initialization of the static binding by adding a dummy static wxart2d_Binding in my main program. In fact i did a test right now, just a dummy wxart2_binding already makes it link the library, it does not have to be static. Regards, Klaas |