Seilim Posted January 6, 2010 Share Posted January 6, 2010 Hi! I created a simple mmorpg bot/clicker in C# using AutoItX.dll. What do I have to do to run it on PC where is no AutoIt installed? Yes, I can't install AutoIt there, I don't want to install anything. I want to have my program portable. Should I move AutoItX.dll to system files or something like this? Any suggestion? Link to comment Share on other sites More sharing options...
daluu Posted January 6, 2010 Share Posted January 6, 2010 I've never used AutoIt DLL as a native Windows (~C/C++) DLL, so not sure about that. Most DLLs of that type should work with your program as long as you copy the DLL to your program's folder (or C:\Windows\system32). It is best to keep DLL in your system folder where possible. If you're using AutoIt via the COM (interop for C#/.NET), then that won't work, since you have to install the DLL for COM usage. But if you are allowed to do that, you simply just invoke a regsvr32 for that DLL to install it for COM use on the target system. Location of DLL can be anywhere. After execution, you could also unregister it to uninstall the DLL. But install/uninstall combo isn't ideal for repeated use. Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 6, 2010 Share Posted January 6, 2010 daluu is right. It does depend on which interface you use (native/COM). Native dlls can just be copied with the app but you can actually run COM objects without them being registered. I don't know how but there are people who have done it here around the forum. 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