C. Iacob wrote:
> This way I could create a test GUI for this DLL using wxWindows.
> Instead of my DLL using wxWindows I want now to have my DLL using wxPython.
You need to approach the problem as embedding Python, not wxPython.
Once you've done that then you get wxPython (assuming the wx DLL it uses
is the same one your DLL uses) and all the rest of Python's capbilities.
Hm, this DLL already uses Python. It calls functions from Python files. The point now is to create a GUI for it using wxPython.
More over, this DLL didn't use and doesn't need to use wxWindows, unless wxPython imposes this. I made it now to use wxWindows in order to "come closer" to embedding wxPython.
See the wxPython/samples/embedding sample for some sample code and notes
The sample there shows how to embed wxPython into a wxWindows application...
C. Iacob wrote:
> This way I could create a test GUI for this DLL using wxWindows.
> Instead of my DLL using wxWindows I want now to have my DLL using wxPython.
You need to approach the problem as embedding Python, not wxPython.
Once you've done that then you get wxPython (assuming the wx DLL it uses
is the same one your DLL uses) and all the rest of Python's capbilities.
Hm, this DLL already uses Python. It calls functions from Python files. The point now is to create a GUI for it using wxPython.
More over, this DLL didn't use and doesn't need to use wxWindows, unless wxPython imposes this. I made it now to use wxWindows in order to "come closer" to embedding wxPython.
See the wxPython/samples/embedding sample for some sample code and notes
The sample there shows how to embed wxPython into a wxWindows application...
Sorry, that's what I thought you were asking about, except in a DLL that used wxWindows...
So are you wanting to use wxPython from within the DLL or do you want to be able to use your DLL from a wxPython application?
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!