Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
Hi,
How to add dll file in Project.I have tried the below process but it is not working:
Right ckicking Solution Explorer->add->Reference
selecting the dll file in my system.

Regards
Balamurugan
Posted 2-Jan-13 1:19am
Comments
jibesh at 2-Jan-13 6:31am
   
what type of dll you are trying to add? a C++ or COM dll?
Balamurugan1989 at 2-Jan-13 6:33am
   
CRXLAT32.DLL
jibesh at 2-Jan-13 6:52am
   
I think you are trying to load a unmanaged version of Crystal Report dll in to managed (C#) project. I believe you can get .Net version of crystal report extensions. Please check that.

You cannot add a unmanaged (C++ Dll) into your Managed (C#) project.
Hetal Jariwala at 2-Jan-13 6:37am
   
It may be com component
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hi,

You are doing the right way to add the reference library. if you are using DLL of the windows code then you should use DLLImport instead of adding reference.

Lest us know if it is not working, also post the error message if any.

Best luck,
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

If you are using third party dll then you need to register that dll first.
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 30-Jul-13 19:26pm
   
Not true.
—SA

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

  Print Answers RSS
0 OriginalGriff 165
1 Sergey Alexandrovich Kryukov 134
2 Sebastiaan Meijerink 131
3 Rana Waqas 110
4 Maciej Los 84
0 Sergey Alexandrovich Kryukov 6,558
1 OriginalGriff 6,288
2 Peter Leow 2,534
3 Abhinav S 2,358
4 Maciej Los 2,352


Advertise | Privacy | Mobile
Web03 | 2.8.150414.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2015
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