Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: ActiveX Dll

by vladdrak (Monk)
on Sep 16, 2004 at 03:45 UTC ( #391357=note: print w/replies, xml ) Need Help??


in reply to ActiveX Dll

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.

Replies are listed 'Best First'.
Re^2: ActiveX Dll
by blenkhn (Acolyte) on Sep 17, 2004 at 23:50 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://391357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-01-28 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?