Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ C#4.0
Hi,
 
How to add Vc++ dll to .Net project as reference?.
Posted 17-Dec-12 22:40pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

hi, Check this-
How to: Add or Remove References in Visual Studio[^]
 
hope it helped!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

This will only work if it's a COM enabled DLL. For ordinary C/C++ libraries you need to use Platform Invoke[^].
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hi,
 
First, right-click on "References", and select "Add Reference".
Then, you can choose ".NET", "COM", "Solution" or "Browse".
  Permalink  
v2
Comments
nagalkumar at 18-Dec-12 7:38am
   
My .dll file is not a .NET or com
ProgramFOX at 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)

  Print Answers RSS
0 OriginalGriff 310
1 Sergey Alexandrovich Kryukov 192
2 PhilLenoir 164
3 Richard MacCutchan 160
4 Sharmanuj 146
0 Sergey Alexandrovich Kryukov 6,077
1 OriginalGriff 5,115
2 CPallini 2,473
3 Richard MacCutchan 1,597
4 Abhinav S 1,505


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100