Jump to content

how to use getObject


zain
 Share

Recommended Posts

I am running a .NET application.I want to get application object so that i can listen to events it trigger.

ObjEvent ( $ObjectVar, "functionprefix" [, "interface name"] )

First i am facing problem in this application object creation

1.I use run() to run this application.Then i check the name of this application in Task-manager Processes list.

It was e-Sah.exe I passed this to ObjCreate("e-Sah.exe") But object is not creating.And set @error to 21472200

Please help me to use ObjCreate(),Objget()

Thanks.

Edited by zain
Link to comment
Share on other sites

The Obj functions in AutoIt are for COM interface, not for .NET. Unless that application was somehow compiled to provide a COM interface this won't work.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...