You may look for Win32::API module in order to bind yourself to the dll.
ADVICE: you should explain a bit more what you intend to do and what you have found and tried (eventually with URLs) in order to get valuable responses (look at posting topics in the PerlMonks FAQ and more precisely this one)
____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...
| [reply] |
If you have access to VBScript code that utilizes the module, then the road will be pretty easy. The Win32::OLE module will allow you to perform a CreateObject or GetObject just like you would in VB/VBS, and from there the syntax is very similiar in that you are calling the same object methods you would from any other language. You can google 'perl use Win32::OLE' and get some idea of where to go, too.
If you don't have a VBScript example, then you need to figure out what the ProgID is for the object. You can find this by using OLEView or just sifting through the registry (usually a Find for the dll filename in RegEdit will get you to the ProgID quickly). OLEView is handier, becaude you can get a view of the exposed methods and properties the DLL makes available.
If you could provide the name of the DLL and the developer, then I could give you a straighter path.
| [reply] |
Thanks for your advise, the dll i would like to access is found at http://www.vinpower.com/vindecoder_dll.shtml
It is a Axtivex dll. I have tried to access it via Win32::API and have had no luck. I will try Win32OLE next and hopefully will have better luck with that.
| [reply] |