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

How to add Vc++ dll to .Net project as reference?.
Posted

hi, Check this-
How to: Add or Remove References in Visual Studio[^]

hope it helped!
 
Share this answer
 
This will only work if it's a COM enabled DLL. For ordinary C/C++ libraries you need to use Platform Invoke[^].
 
Share this answer
 
Hi,

First, right-click on "References", and select "Add Reference".
Then, you can choose ".NET", "COM", "Solution" or "Browse".
 
Share this answer
 
v2
Comments
nagalkumar 18-Dec-12 7:38am    
My .dll file is not a .NET or com
Thomas Daniels 18-Dec-12 7:39am    
Then, you can browse for DLL files.

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