Jump to content

Can a DLL written in C# be invoked by DLLCall?


obrienj
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Many thanks, I am off to try the tool.

EDIT: It works great, again thanks for the pointer

Regards,

Jim

Edited by obrienj
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...