Fragaholic Posted October 1, 2008 Share Posted October 1, 2008 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 More sharing options...
Richard Robertson Posted October 1, 2008 Share Posted October 1, 2008 AddReference when used on a COM object in a .Net project will actually generate a wrapper assembly that your code can make calls on. AutoIt doesn't have that kind of functionality. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now