Hello,
I'm evaluatig InstallAware and we are about to buy it.
I would like to know whether it is possible to call .NET DLL developed in C#. I have two DLL that I need to call to validate the userkey and to encrypt the password provided by the user. It is not working though.
If there is a way to do that, please tell me how I could accomplish it.
Thanks in advance,
Marlon
Calling .NET DLLs
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi Marlon!
If your .NET DLLs can be called by standard Win32 applications, InstallAware can call them too, using the Call DLL Function command. Just make sure your DLL supports stdcall.
If your .NET DLLs can be called by standard Win32 applications, InstallAware can call them too, using the Call DLL Function command. Just make sure your DLL supports stdcall.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Calling .NET DLLs
marlonguerios wrote:Hello,
I'm evaluatig InstallAware and we are about to buy it.
I would like to know whether it is possible to call .NET DLL developed in C#. I have two DLL that I need to call to validate the userkey and to encrypt the password provided by the user. It is not working though.
If there is a way to do that, please tell me how I could accomplish it.
Thanks in advance,
Marlon
You can wrap them in a .NET COM wrapper, then create a Win32 C++ DLL that uses COM interop to load the .NET COM wrapper and voila you have access to your existing .NET libraries from IA.
-
- Posts: 7
- Joined: Wed Jun 14, 2006 2:36 am
Re: Calling .NET DLLs
skibbs wrote:marlonguerios wrote:Hello,
I'm evaluatig InstallAware and we are about to buy it.
I would like to know whether it is possible to call .NET DLL developed in C#. I have two DLL that I need to call to validate the userkey and to encrypt the password provided by the user. It is not working though.
If there is a way to do that, please tell me how I could accomplish it.
Thanks in advance,
Marlon
You can wrap them in a .NET COM wrapper, then create a Win32 C++ DLL that uses COM interop to load the .NET COM wrapper and voila you have access to your existing .NET libraries from IA.
Hello,
Do you have any example of that? Actually I have redeveloped my c# dll in c++ but I am getting a little different behavior. So, if you I can use the original dll, it would better.
Thanks,
Marlon
Who is online
Users browsing this forum: No registered users and 101 guests