here you go my friend, it may be a little late tho! Here is what you need to register your .dll: regsvr32 "C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3.dll" you will get a message box telling you it was successful. Then reference this guys post for adding in your AutoIt functions. Here: www.autoitscript.com/forum/index.ph...hl=AutoItX3.dll Then do this magic, this is the key! Download iLmerge and install it. Go to your C# and in your project go to Project > (Whatever your project name).Properties which should be the last option in your menu. Once you click it go to the Build Events tab. And click on post-build and enter in this code: "C:\Program Files\Microsoft\ILMerge\ilmerge" /target:winexe /out:Autoittest-merge.exe Autoittest.exe Interop.AutoItX3Lib.dll This will build the AutoItX3.dll straight into your application. You need to build it twice because after the first build it loads the Interop.AutoItX3Lib.dll into the directory and then on the second build it will create your combined .exe which should output to be Autoittest-merge.exe which is just a name I created. And Autoittest.exe is just my project name so this is name whatever your project is called or saved as rather. Since all this has been done, all you need to do is code and build and it will compile only the functions you add. So now enjoy the POWER!
are you crazy?! you may did all this gui and froms and buttons inside autoit software. Why need writing soo many unneeded code, complicating situation?
Thank you !! I use this code to run a form application to click specific mouse coordinates over another application !
Excellent, thank you so much... i got to try this :)
Thanks for your tutorial bro :)
Problem isolating COM reference 'AutoItX3Lib': No registered classes were detected for this component. in visual studio 2019 on window 10 64bit
here you go my friend, it may be a little late tho!
Here is what you need to register your .dll: regsvr32 "C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3.dll" you will get a message box telling you it was successful.
Then reference this guys post for adding in your AutoIt functions. Here: www.autoitscript.com/forum/index.ph...hl=AutoItX3.dll
Then do this magic, this is the key! Download iLmerge and install it. Go to your C# and in your project go to Project > (Whatever your project name).Properties which should be the last option in your menu. Once you click it go to the Build Events tab. And click on post-build and enter in this code:
"C:\Program Files\Microsoft\ILMerge\ilmerge" /target:winexe /out:Autoittest-merge.exe Autoittest.exe Interop.AutoItX3Lib.dll
This will build the AutoItX3.dll straight into your application. You need to build it twice because after the first build it loads the Interop.AutoItX3Lib.dll into the directory and then on the second build it will create your combined .exe which should output to be Autoittest-merge.exe which is just a name I created. And Autoittest.exe is just my project name so this is name whatever your project is called or saved as rather. Since all this has been done, all you need to do is code and build and it will compile only the functions you add. So now enjoy the POWER!
Thank you so much.
THANK YOU!
where can you get the dll
Eiji Ensing download and install autoit from www.autoitscript.com/site/autoit/downloads/,..., after that, find dll files on installation folder
thanks! A great method!
"Problem isolating COM reference 'AutoItX3Lib': No registered classes were detected for this component."
i am having the same issue, did you resolved it?
Cool, I also made a tutorial about this
kısayol tuşu kodunu atarmısın
Sensacional!!!!!
are you crazy?! you may did all this gui and froms and buttons inside autoit software. Why need writing soo many unneeded code, complicating situation?
Autoit Gui = Virüs :(
bagus kakak