How do I use AutoitX (OCX/ActiveX library) in a .NET C# application without registering it?
I would like to create an application with it without need to use administrator rights for installation.
I found some pages on MSDN like, Registration-Free Activation of COM Components: A Walkthrough about creating manifest files for DLL files. I tried it and did not succeed. So maybe it is possible and I created it wrongly. Unfortunately I lost the XML files so I can't post it here.
I also tried setting isolated and enable interop types in reference properties without success.
Is it possible to get AutoItX working in C# without need for registering? If so, how do I do it?
I think it should be possible to use as a DLL and not an OCX, but I don't know how exactly to do it in C#.
Currently, I use it like:
AutoItX3Lib.AutoItX3 autoit = new AutoItX3Lib.AutoItX3();
autoit.AutoItSetOption("WinTitleMatchMode", 2);
etc. So if I would go for direct DLL calls, how would I do it then?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…