Re: Begginer in python trying to load a .dll

2014-08-19 Thread ElChino
"Laurent Pointal" wrote: On Windows there is dumpbin http://msdn.microsoft.com/en-us/library/c1h23y6c%28v=vs.100%29.aspx On Windows, google also found this graphical tool: http://www.dependencywalker.com/ PEdump is also a great tool: http://www.wheaty.net/pedump.zip Includes source too. -

Re: Begginer in python trying to load a .dll

2014-08-19 Thread Laurent Pointal
c1234 py wrote: > This appear in the terminal: > > runfile('C://Python Scripts') > File "C:\\sitecustomize.py", line 585, in runfile > execfile(filename, namespace) > File "C://Sin título 38.py", line 19, in > hllApi = hllApiProto (("HLLAPI", hllDll), hllApiParams) > AttributeE

Re: Begginer in python trying to load a .dll

2014-08-13 Thread c1234 py
Thanks a lot. El martes, 12 de agosto de 2014 17:17:26 UTC-3, Mark Lawrence escribió: > On 12/08/2014 20:25, c1234 py wrote: > > > El martes, 12 de agosto de 2014 16:16:21 UTC-3, Christian Gollwitzer > > escribi�: > > >> Am 12.08.14 20:36, schrieb c1223: > > >> > > >>> Hi, Im working i

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Mark Lawrence
On 12/08/2014 20:25, c1234 py wrote: El martes, 12 de agosto de 2014 16:16:21 UTC-3, Christian Gollwitzer escribió: Am 12.08.14 20:36, schrieb c1223: Hi, Im working in the development of a program based in python that allow us to contrl a spectometer. The spectometer has an .dll file. T

Re: Begginer in python trying to load a .dll

2014-08-12 Thread c1234 py
El martes, 12 de agosto de 2014 16:16:21 UTC-3, Christian Gollwitzer escribió: > Am 12.08.14 20:36, schrieb c1223: > > > Hi, Im working in the development of a program based in python that > > > allow us to contrl a spectometer. The spectometer has an .dll file. > > > The idea is to work throug

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Christian Gollwitzer
Am 12.08.14 20:36, schrieb c1223: Hi, Im working in the development of a program based in python that allow us to contrl a spectometer. The spectometer has an .dll file. The idea is to work through this dll and operate the spectometer. The name of the .dll is AS5216.dll. I've trying with ctype, b

Re: Begginer in python trying to load a .dll

2014-08-12 Thread c1234 py
On Tuesday, August 12, 2014 4:09:13 PM UTC-3, Chris Angelico wrote: > On Wed, Aug 13, 2014 at 4:58 AM, Rob Gaddi > > wrote: > > > Great. And that fails in what way, on which line, with what error message? > > > > And, is that the entire program? Because if it is, then I can see at > > least

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Chris Angelico
On Wed, Aug 13, 2014 at 4:58 AM, Rob Gaddi wrote: > Great. And that fails in what way, on which line, with what error message? And, is that the entire program? Because if it is, then I can see at least one problem, a NameError. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Rob Gaddi
On Tue, 12 Aug 2014 11:56:37 -0700 (PDT) c1234 py wrote: > On Tuesday, August 12, 2014 3:36:17 PM UTC-3, c1234 py wrote: > > Hi, > > > > Im working in the development of a program based in python that allow us to > > contrl a spectometer. The spectometer has an .dll file. The idea is to work

Re: Begginer in python trying to load a .dll

2014-08-12 Thread c1234 py
On Tuesday, August 12, 2014 3:36:17 PM UTC-3, c1234 py wrote: > Hi, > > Im working in the development of a program based in python that allow us to > contrl a spectometer. The spectometer has an .dll file. The idea is to work > through this dll and operate the spectometer. > > The name of the

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Chris Kaynor
On Tue, Aug 12, 2014 at 11:48 AM, Skip Montanaro wrote: > Just as the off-chance your DLL was written in C++... I don't think > you can interface with ctypes directly. I think you would have to > write a little shim DLL which exposes a C-compatible API. > You should be able to use ctypes with a

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Mark Lawrence
On 12/08/2014 19:36, c1223 wrote: Hi, Im working in the development of a program based in python that allow us to contrl a spectometer. The spectometer has an .dll file. The idea is to work through this dll and operate the spectometer. The name of the .dll is AS5216.dll. I've trying with ctype,

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Skip Montanaro
On Tue, Aug 12, 2014 at 1:36 PM, c1223 wrote: > I've trying with ctype, but it doesn't work. Can you post a small example of how you're trying to use cypes? I don't think a full example would be necessary, but knowing the API of one or two functions and how you're trying to call them from Python

Re: Begginer in python trying to load a .dll

2014-08-12 Thread Chris Angelico
On Wed, Aug 13, 2014 at 4:36 AM, c1223 wrote: > Im working in the development of a program based in python that allow us to > contrl a spectometer. The spectometer has an .dll file. The idea is to work > through this dll and operate the spectometer. > The name of the .dll is AS5216.dll. I've try