[python-win32] how to call the dll in python
ysystudio
ysystudio at sohu.com
Mon Nov 3 08:52:49 CET 2008
I have a windows dll1.dll with a export function:
int f1(char filename,char **buf,int *bufLen)
{
int len;
//got the length of file anyway,such as 100
len = 100;//len = getLen(filename);
*buf = (char*)calloc(100);
*bufLen = len;
return 0;
}
then how can I call the f1 function with python.
thanks for your response.
2008-11-03
ysystudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20081103/4ed23fb4/attachment.htm>
More information about the python-win32
mailing list