nmontec Posted January 15, 2010 Share Posted January 15, 2010 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 Link to comment Share on other sites More sharing options...
nmontec Posted January 15, 2010 Author Share Posted January 15, 2010 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 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