Re: [Tutor] python ctypes dll issue

2011-05-09 Thread Mark Tolonen
"mammar" wrote in message news:BANLkTin90dmfRkBu5O=dz-p36fp3nl_...@mail.gmail.com... Hi All, I have created a DLL with the following function exported in it int myFunction(char *id, char *name); Below is the python code to load the dll and call myFunction from ctypes import * # Load DL

Re: [Tutor] python ctypes dll issue

2011-05-08 Thread Alan Gauld
"mammar" wrote I have created a DLL with the following function exported in it int myFunction(char *id, char *name); This is a bit beyond beginner python, I suspect you will get a better response if you ask on the ctypes mailling list/forum. Below is the python code to load the dll an

[Tutor] python ctypes dll issue

2011-05-08 Thread mammar
Hi All, I have created a DLL with the following function exported in it int myFunction(char *id, char *name); Below is the python code to load the dll and call myFunction from ctypes import * # Load DLL into memory mydll= windll.LoadLibrary("my.dll") id = create_string_buffer("030725002")