Calling Function in DLL on Windows

dsavitsk dsavitsk at e-coli.net
Wed May 31 20:11:53 EDT 2000


i need to call a DLL from within a python program. in VB i would declare the
function like...

Declare Function LoadSFW Lib "Sfwlnk32" (ByVal strPath As String, ByVal
strConfig As String) As Long

then use it later like...

intErrorCode = LoadSFW("C:\SFW", 6)

i don't know how to do this in Python, so any quick explanation would be
helpful.

doug





More information about the Python-list mailing list