pass Python string to C char *

"Adam Walley" <[email protected]> Tue, 19 Aug 2008 17:25:39 +0100
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
Hi, All.

This question has probably been resolved many times over on various forums,
but I was wondering what the best way is to pass a Python string (in my case
a file path) to a DLL written in C that expects a char* input?

Any suggestions?

Adam

_______________________________________________
PythonCE mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythonce