Re: Accessing dll

2012-09-07 Thread Helpful person
On Sep 7, 5:16 am, Chris Angelico wrote: > On Fri, Sep 7, 2012 at 1:44 AM, Helpful person wrote: > > FYI > > > My Python version is 2.5.4 > > You may wish to upgrade, that's quite an old version. Unless > something's binding you to version 2.x, I would str

Re: Accessing dll

2012-09-06 Thread Helpful person
On Sep 6, 9:58 am, Jerry Hill wrote: What do you get if you do the following at the > interactive interpreter? > > >>> from ctypes import * > >>> print windll. > > -- > Jerry I get: , handle 41 at 2ace070> -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessing dll

2012-09-06 Thread Helpful person
On Sep 6, 8:30 am, Jerry Hill wrote: > > You should start by reading the ctypes documentation, > here:http://docs.python.org/library/ctypes.html.  It has a lot of examples > that ought to get you started. > The reference might help if I could get Python to recognize the dll as a module. -- http

Re: Accessing dll

2012-09-06 Thread Helpful person
On Sep 6, 8:28 am, Ulrich Eckhardt wrote: > Am 06.09.2012 17:07, schrieb Helpful person: > > > I am a complete novice to Python. > > Welcome! > > > I wish to access a dll that has > > been written to be compatible with C and VB6.  I have been told that > &

Re: Accessing dll

2012-09-06 Thread Helpful person
On Sep 6, 8:30 am, Jerry Hill wrote: > You should start by reading the ctypes documentation, > here:http://docs.python.org/library/ctypes.html.  It has a lot of examples > that ought to get you started. > > When you run into more specific problems, you're going to have to > provide a lot more inf

Re: Accessing dll

2012-09-06 Thread Helpful person
FYI My Python version is 2.5.4 -- http://mail.python.org/mailman/listinfo/python-list

Accessing dll

2012-09-06 Thread Helpful person
I am a complete novice to Python. I wish to access a dll that has been written to be compatible with C and VB6. I have been told that after running Python I should enter "from ctypes import *" which allows Python to recognize the dll structure. I have placed the dll into my active directory (if