I got a little further by downloading a dll export viewer, where I could see
the function names that were available, and I can now locate the function I
need, e.g.,

In [4]: dll = ctypes.windll[r"C:\Some\Path\GnuWin32\bin\lzo1.dll"]
In [5]: dll.lzo1_decompress?
Type:           _FuncPtr
Base Class:     <class 'ctypes._FuncPtr'>
String Form:    <_FuncPtr object at 0x00AC6918>
Namespace:      Interactive
Docstring:
    <no docstring>

Now I just need to figure out how to call it with a bytestring and handle
the return type

Kim
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to