using 3rd party dll in python - UsingTheVRTTDriver.zip (0/1)

2013-06-25 Thread Mark R Rivet
I would like to use the Gen3.dll functions from python. I understand that I can use ctypes to load the dll. I have been able to load the dll but cannot make any sense of how to use it once I have it loaded. I have been trying to understand the ctypes tutorial but I just can't wrap my head around it

Re: Dll in python

2009-10-23 Thread Rami Chowdhury
On Fri, 23 Oct 2009 14:08:58 -0700, Aahz wrote: In article , snonca wrote: [...] Was I the only person who read the Subject: line and thought, "How do you roll D11, anyway?" Surely it's just like a slightly unbalanced D12? -- Rami Chowdhury "Never attribute to malice that which can b

Re: Dll in python

2009-10-23 Thread Aahz
In article , snonca wrote: > > [...] Was I the only person who read the Subject: line and thought, "How do you roll D11, anyway?" -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "In the end, outside of spy agencies, people are far too trusting and willing to he

Re: Dll in python

2009-10-23 Thread Martien Verbruggen
On Fri, 23 Oct 2009 13:09:10 -0700 (PDT), snonca wrote: > hello > > I would like to know how to create dll in python to implement a > project. NET Are you maybe looking for this: http://pythonnet.sourceforge.net/ Martien -- | Martie

Re: Dll in python

2009-10-23 Thread Diez B. Roggisch
snonca schrieb: hello I would like to know how to create dll in python to implement a project. NET There is a Tutorial Take a look at iron-python. Diez -- http://mail.python.org/mailman/listinfo/python-list

Dll in python

2009-10-23 Thread snonca
hello I would like to know how to create dll in python to implement a project. NET There is a Tutorial Thanks Luis -- http://mail.python.org/mailman/listinfo/python-list

Re: how to call this dll in python

2008-11-04 Thread Shark
On Nov 4, 2:16 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote: > "Shark" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > >I have a windows dll1.dll with a export function: > > > int f1(char filename,char **buf,int *bufLen) > > { > > int len; > > //got the length of file anyway,suc

Re: how to call this dll in python

2008-11-04 Thread Diez B. Roggisch
Shark schrieb: On Nov 3, 4:22 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: Shark schrieb: I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*

Re: how to call this dll in python

2008-11-03 Thread Mark Tolonen
"Shark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*)calloc(100); *bufLen = len

Re: how to call this dll in python

2008-11-03 Thread Shark
On Nov 3, 4:22 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Shark schrieb: > > > I have a windows dll1.dll with a export function: > > > int f1(char filename,char **buf,int *bufLen) > > { > > int len; > > //got the length of file anyway,such as 100 > > len = 100;//len = getLen(filename); > >

Re: how to call this dll in python

2008-11-03 Thread Diez B. Roggisch
Shark schrieb: I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*)calloc(100); *bufLen = len; return 0; } then how can I call the f1 function with

how to call this dll in python

2008-11-02 Thread Shark
I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*)calloc(100); *bufLen = len; return 0; } then how can I call the f1 function with python. thanks f

Re: writing dll in python?

2008-09-30 Thread Larry Bates
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in variet

Re: writing dll in python?

2008-09-30 Thread Scott David Daniels
Terry Reedy wrote: Start with the Python tutorial, perhaps parts of the reference manual, and definitely peruse the first chapters in the library manual on built-in functions and classes. Check out http://wiki.python.org/moin/BeginnersGuide to see a range of ways to learn Python, most

Re: writing dll in python?

2008-09-29 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, nishalrs wrote: > Should I write all the functions as simple python scripts? Or is there > some facility for creating a .dll like library, that could be more > suitable for what in intend to develop? Start with Python. -- http://mail.python.org/mailman/listinfo/pyt

Re: writing dll in python?

2008-09-29 Thread Terry Reedy
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in variet

Re: writing dll in python?

2008-09-29 Thread Tino Wildenhain
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in variet

writing dll in python?

2008-09-29 Thread nishalrs
Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in variety of operating sys

Re: can't load a dll in python 2.5

2007-02-16 Thread Gabriel Genellina
En Fri, 16 Feb 2007 18:11:53 -0300, Steven Bethard <[EMAIL PROTECTED]> escribió: > [EMAIL PROTECTED] wrote: >> I am on WindowsXP. I have a dll that I can load in python 2.3 but >> when trying to load it into python 2.5 it complains that there is >> nothing by that name. Is there some aspect o

Re: can't load a dll in python 2.5

2007-02-16 Thread Steven Bethard
[EMAIL PROTECTED] wrote: > I am on WindowsXP. I have a dll that I can load in python 2.3 but > when trying to load it into python 2.5 it complains that there is > nothing by that name. Is there some aspect of the dll loading > mechanism between python 2.3 and 2.5 that has changed preventing me >

can't load a dll in python 2.5

2007-02-16 Thread dwmaillist
Hello, I am on WindowsXP. I have a dll that I can load in python 2.3 but when trying to load it into python 2.5 it complains that there is nothing by that name. Is there some aspect of the dll loading mechanism between python 2.3 and 2.5 that has changed preventing me from loading the dll in 2.5