Hello,

I am a newbie to the python language, and I need to call a DLL
function from the python program.
The DLL function has following prototype:

unsigned int DLLFunction(unsigned char *, unsigned int);

Now, I need to declare an array of 6 bytes in the python, and pass
that array as the first argument to the DLL function. I tried some
methods mentioned on the Internet, but it gives error like "can not
convert argument 1".

Can someone tell me how to do this?

Thanks for the help.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to