obrienj Posted October 24, 2010 Share Posted October 24, 2010 As the subject asks, can a DLL written in C# be invoked by an AutoIt script using the DLLxxx calls? If not, can someone explain why? And if they can, are there any special considerations? Regards, Jim Link to comment Share on other sites More sharing options...
JohnOne Posted October 24, 2010 Share Posted October 24, 2010 (edited) I dont believe you can, but cannot fully explain why except to say Autoit cannot directy access the .net framework.Taken from this post, you may be able to acces a C# dll using COM, provided you craete the dll yourself. Edited October 24, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ProgAndy Posted October 24, 2010 Share Posted October 24, 2010 (edited) It is possible after some manipulations http://www.codeproject.com/kb/dotnet/emilio_managed_unmanaged.aspx There is a tool to simplify this task: http://www.autoit.de/index.php?page=Thread&postID=110596#post110596 PS: the modifed DLL still needs the .NET-framework. Edited October 24, 2010 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
obrienj Posted October 25, 2010 Author Share Posted October 25, 2010 (edited) It is possible after some manipulationshttp://www.codeproject.com/kb/dotnet/emilio_managed_unmanaged.aspxThere is a tool to simplify this task: http://www.autoit.de/index.php?page=Thread&postID=110596#post110596PS: the modifed DLL still needs the .NET-framework.Many thanks, I am off to try the tool.EDIT: It works great, again thanks for the pointerRegards,Jim Edited October 25, 2010 by obrienj 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