Calling Function in DLL on Windows

David Broadwell (remove spam.) "dbroadwell" at spam.mindspring.com
Thu Jun 1 18:42:11 EDT 2000


It is certianlly something that i at least want to see, so that i can
grab the dll for my web can and stream it to my localnet.. as a
project..

dsavitsk wrote:
> 
> > try Sam Rushing's windll/calldll stuff; should be findable at medusa
> >
> > Robin Becker
> 
> thanks for the suggestion
> 
> it looks like grabbing the calldll.pyd and windll.py files from sam rushing
> at www.nightmare.com (both in dynwin.zip) will allow something like...
> 
> >>> from dynwin.windll import *
> >>> # The DLL in qustion here is called
> >>> # SFWLink.DLL. It is a connection to
> >>> # a scanning engine for a NCS OMR Scanner
> >>> mod1 = module('SFWLink') # Load's DLL
> >>> mod1.LoadSFW('c:\\sfw\\', 'Param') # calls f(x)
> 
> This example is mostly from MHammond's Book where it is given about 1/2 of a
> page.  He says to look at Sam's site.  Unfortunatly the documentation is not
> really there for those of us who are new. MHammond also presents some
> information on passing values ByRef.
> 
> As soon as i get to work with the hardware in question again (next week)
> i'll put up a post on doing this, and how it works.

-- 
 --
	Got CODE?
 --



More information about the Python-list mailing list