Problem in using dll in another project

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2008
Posts: 46
Reputation: karang is an unknown quantity at this point 
Solved Threads: 0
karang karang is offline Offline
Light Poster

Problem in using dll in another project

 
0
  #1
Dec 3rd, 2008
Hi

I am made a library project.

Now I want to use the functions of dll in another project.

As I am new to C++ I don't know how to import the dll and use its function.

Is there any tutorial that elaborates these things.

Thanks in advance
Karan
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,348
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1462
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Problem in using dll in another project

 
0
  #2
Dec 3rd, 2008
You use dll functions all the time in c++ programs. Every win32 api function and every standard c and c++ functions are contained in dlls. (they could also be statically linked, but that's for another discussion) So use your dll just like the others, include the header file and link with the *.lib that was produced with the dll.
Last edited by Ancient Dragon; Dec 3rd, 2008 at 9:20 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC