Re: Pass 'this' to a python script in an extended application

2007-01-19 Thread Stou Sandalski
I figured it out. I just made my main class a singleton and it worked fine... it always works right after I post a message =) Stou Stou Sandalski wrote: > Hi, > > I have an application consisting of a main C++ class (and other > classes) stored inside a DLL. The application uses a small main >

Pass 'this' to a python script in an extended application

2007-01-18 Thread Stou Sandalski
Hi, I have an application consisting of a main C++ class (and other classes) stored inside a DLL. The application uses a small main executable that links against the main DLL, then initializes and runs the core class. The python bindings are inside a .pyd module that also links against the core