Click here to Skip to main content
15,895,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I need to import a dll file (I downloaded the DLL, open source but not a Dot Net DLL). I should be able to refer that dll into my dot net wondows form applicaiton.

how can I add reference to the external DLL in my windows applicaiton.?

I am using Visual Studio 2012.

Thanks.
Posted
Updated 23-Dec-13 1:56am
v2

Google is your friend: "dllimport legacy dll"[^].
 
Share this answer
 
Just right click on References and then click on Add Reference and then brows to .DLL file. It will be added automatically as Reference.
 
Share this answer
 
Comments
Naveen_143 24-Dec-13 4:21am    
hi..thanks for your reply. I tried that. As it is not a .Net related Dll , It is not adding as a reference. VmCOM.dll is Dll I am trying to add.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900