Jump to content

Recommended Posts

Posted

Hello All,

I would like to use an EXE file which contain an ActiveX object with its related properties/methods.

I know how to use DLL and COM with AutoIT, but this seems to be somewhat (AFAIK) different because:

- with DLL, for instance , you can specify the path to the filename, and then use the functions inside, but can not instantiate objects

- with COM you can instantiate object using properties/methods, but the COM object is registered at installation time into windows and you can not specify a path to an exe file where the COM object is.

So, what can I do?

Thanks in advance for your help!

Best regards

Nicola

Posted

Dear All,

just wanted to let you know that I found the solution for this issue. I'd like to share it with you just in case in future someone comes into the same question.

Basically the EXE file that I own with ActiveX controls needs to be run as it act like a server. Once the executable is run, the object will become available as a COM object so it will be available the same way as any COM object.

Best regards

Nicola

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
×
×
  • Create New...