Author Topic: TrIDLib.dll and Python  (Read 12234 times)

Me

  • Guest
TrIDLib.dll and Python
« on: September 02, 2008, 11:31:39 PM »
Is there anyone who created a Python wrapper for TrIDLib.dll?

I loaded the DLL via

Code: [Select]
TrIDLib    = windll.LoadLibrary(".\\TrIDLib.dll")

But later I got prolems with
Code: [Select]
TrIDLib.TrID_GetInfo(...

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: TrIDLib.dll and Python
« Reply #1 on: September 03, 2008, 05:19:24 PM »
Unfortunately I can't be of much help about Python. Not yet, at least.
If someone would contribute some Python's TrIDLib usage samples, I would be delighted to add it to the others demos package.

Thanks,
Bye!

efotinis

  • Newbie
  • *
  • Posts: 1
Re: TrIDLib.dll and Python
« Reply #2 on: September 15, 2008, 11:34:45 AM »
I've been playing with TrIDLib in Python lately. I wrote a wrapper for the DLL using ctypes and a little demo; see the attachment. The wrapper even provides access to the full version features, although I couldn't test them of course. Marco, feel free to include them in the samples if you want and thanks for TrID :)

--Elias Fotinis

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: TrIDLib.dll and Python
« Reply #3 on: September 15, 2008, 06:33:18 PM »
That's a great news Elias!
I just added it to the samples ZIP package and update the website accordingly.

Many thanks!
Bye!