[python-win32] Loading a and running from a dll runtime?

Andrew Markebo andrew.markebo at comhem.se
Fri May 12 00:34:16 CEST 2006


/------------------------------
|
|> Or should I use swig or similar?
|
| To do this at runtime, you might look at ctypes (which is at
| http://starship.python.net/crew/theller/ctypes/, or if you wait for
| Python 2.5, it will be in the standard library).

I tried to use Ctypes talking to LabVIEW earlier, but there were some
complexities that couldn't be solved, and well swig works because it
is loading the same dll all of the time

|
| Swig allows you to build a wrapper around a DLL (pyrex can be used in
| a similar manner), and is more of a "compile-time" approach.


        /Andy

-- 
  My eyes, they rest on a beaut.., 
     ehm.. some code I am debugging. 



More information about the Python-win32 mailing list