[PythonCE] pass Python string to C char *

Adam Walley adam.walley at gmail.com
Tue Aug 19 18:25:39 CEST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonce/attachments/20080819/239a24bf/attachment.htm>


More information about the PythonCE mailing list