Click here to Skip to main content
Sign Up to vote bad
good
See more: C++C#4.0
Hi,
 
How to add Vc++ dll to .Net project as reference?.
Posted 17 Dec '12 - 22:40


3 solutions

hi, Check this-
How to: Add or Remove References in Visual Studio[^]
 
hope it helped!
  Permalink  
This will only work if it's a COM enabled DLL. For ordinary C/C++ libraries you need to use Platform Invoke[^].
  Permalink  
Hi,
 
First, right-click on "References", and select "Add Reference".
Then, you can choose ".NET", "COM", "Solution" or "Browse".
  Permalink  
Comments
nagalkumar - 18 Dec '12 - 7:38
My .dll file is not a .NET or com
ProgramFOX - 18 Dec '12 - 7:39
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 425
1 OriginalGriff 330
2 Arun Vasu 253
3 Zoltán Zörgő 194
4 CPallini 173
0 Sergey Alexandrovich Kryukov 10,105
1 OriginalGriff 7,739
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 2,999


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid