On 21/10/05, Grant Edwards <[EMAIL PROTECTED]> wrote:
> Sorry, I've no clue about anything VB-related unless it's
> Victoria Bitter.
+1 QOTW.
--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-10-20, dcrespo <[EMAIL PROTECTED]> wrote:
> Can someone give me lights on how can I deal with dlls from python?
Use the ctypes module.
> My main purpose is to get access to a Unitech PT600 Bar Code system. I
> have the dll that works fine through Visual Basic. But I'm migrating to
> Pyth
"dcrespo" <[EMAIL PROTECTED]> wrote:
>
>Can someone give me lights on how can I deal with dlls from python?
>
>My main purpose is to get access to a Unitech PT600 Bar Code system. I
>have the dll that works fine through Visual Basic. But I'm migrating to
>Python, so I need a way to use the same dll
I used ctypes. It works really fine with DLLs.
have a lool at http://starship.python.net/crew/theller/ctypes
Martin
--
http://mail.python.org/mailman/listinfo/python-list
If you want you can also take a look at something I wrote a while
ago (before ctypes was really well known). It has worked for me
with .DLLS form Castelle and Expervision that both have extensive
APIs. It is located here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847
Larry Bate
[Daniel]
> I tried the ctypes module.
ctypes is the right way to do it. You need to post your code and whatever
errors you received. Here's an example of using ctypes to call a DLL:
>>> from ctypes import *
>>> windll.user32.MessageBoxA(None, "Hello world", "ctypes", 0);
You use "windll" for
Hi to all,
Can someone give me lights on how can I deal with dlls from python?
My main purpose is to get access to a Unitech PT600 Bar Code system. I
have the dll that works fine through Visual Basic. But I'm migrating to
Python, so I need a way to use the same dll, or a C library.
I tried to ac