Jump to content

Recommended Posts

Posted

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

Posted (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 by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...