Running function from Win32 dll

Nadav Chernin Nadav.C at
Mon Nov 30 09:25:35 CET 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: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylab.rar
Type: application/octet-stream
Size: 12749 bytes
Desc: pylab.rar
URL: <>

More information about the Python-list mailing list