Need help on calling user DLL functions from wxPython

Hi,

Our project requirement is to support scripting facility such that the
wxPython script file is able to call the functions from a DLL which is
written in C++ using wxWindows.

We are trying out some sample code to check for above feature. For this,

we

have created a sample wxWindows dll which exports a function. Using SWIG

we

are now able to call the DLL exported function from wxPython. But wxPython

gives error if the exported function prototype uses wxWindows datatypes

like

wxstring. We are not able to figure out the reason behind this error.

It would probably be helpful here to post the content of the error
message...

Can someone help us on this? How can we return wxString to wxPython shell
from a DLL exported function?

Have you looked at this page?:
http://wiki.wxpython.org/index.cgi/C_2b_2bExtensions

-Mark

ยทยทยท

On Fri, 2003-10-17 at 09:28, Gauri Deshpande wrote: