Jump to content

ObjCreate from .tlb


Fragaholic
 Share

Recommended Posts

I have an app that I use from VB via COM, and now I would like to use AutoIt in place of VB.

When using VB, I start by adding a 'Reference', which allows me to register the app by selecting the .TLB. Then i can create an object with Set myObj = CreateObject("QaDoc").

In AutoIt, is use $myObj = ObjCreate("CM4D.QaDoc"), which does not work.

How do I replace the 'Add Reference' step in AutoIt?

When I use oleview.exe, the app only appears in the Type Libraries section, and not in the Application IDs section. I have access to the developers of the COM app, so if I need them to change something (a registration?), that is a possibility.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...