Call C functions from Python
Java and Swing
codecraig at gmail.com
Tue Oct 4 16:28:09 EDT 2005
ok i got ctypes...now i try
>> from ctypes import *
>> myApp = CDLL("C:\\myapp.dll")
..now how can I call functions on in myapp.dll? From the tutorial I am
not sure..i try, dir(cdll.myApp) and dir(myApp)..but don't see my
functions listed.
thanks
Grant Edwards wrote:
> On 2005-10-04, Java and Swing <codecraig at gmail.com> wrote:
>
> > Is there some other way, besides SWIG, which will allow me to call
> > functions inside an Ansi C DLL?
>
> ctypes
>
> --
> Grant Edwards grante Yow! Now KEN and BARBIE
> at are PERMANENTLY ADDICTED to
> visi.com MIND-ALTERING DRUGS...
More information about the Python-list
mailing list