Running function from Win32 dll

Nadav Chernin Nadav.C at qualisystems.com
Mon Nov 30 03:25:35 EST 2009


Hi all, 

 

I want to run function from win32 dll.

 

I used ctypes.windll.LoadLibrary to load the DLL.

 

But I don't know how to select function and run it.

 

Dll example attached (pylab.dll). It includes 2 functions:

 

 double Add(double a,double b) - adds 2 double numbers

 

double Random(void) - generates random number

 

Thank you, Nadav

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091130/f0a68254/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylab.rar
Type: application/octet-stream
Size: 12749 bytes
Desc: pylab.rar
URL: <http://mail.python.org/pipermail/python-list/attachments/20091130/f0a68254/attachment.obj>


More information about the Python-list mailing list