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
-
CandiceJones
- 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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Calling .NET DLLs
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.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
-
marlonguerios
- Posts: 7
- Joined: Wed Jun 14, 2006 2:36 am
Re: Calling .NET DLLs
Hello,skibbs wrote: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.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
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

