Archive: Calling the function inside a .net dll from NSIS


Calling the function inside a .net dll from NSIS
Hi all,
does anyone know how to call a .net DLL from nsis

i mean i have to call a .net method uisng the .net dll.
if any one has done this before please help me...
thanks in advance


I've thought about this myself and I believe that it could be done using the method described in this article: http://www.codeproject.com/KB/dotnet...nmanaged.aspx. If you don't want to know the details this might be of more help: http://www.codeproject.com/KB/dotnet/DllExport.aspx

However, if the user doesn't have .Net installed it will probably throw a nasty exception or just crash your installer.


hi
i think the links are not submitted.

can you give me the urls straight away

thanks in advance


http://www.codeproject.com/KB/dotnet...unmanaged.aspx
http://www.codeproject.com/KB/dotnet/DllExport.aspx


Thanks for showing the urls Anders.

vignes: Write here if you get it working, would be great to know.


I have posted a howto on loading a managed .NET DLL from NSIS. It is located here: http://forums.winamp.com/showthread.php?postid=2389939.