Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a dll?

Status
Not open for further replies.

A1METALHEAD

Programmer
May 21, 2004
76
US
hello, i have some classes and functions i would like to put into a dll so i add all this code to another project, and override twofunctions on one of the classes. dose anyone have a tutorial for that that has nothing to do with visual c++?(as i am using devCpp) thanks

~metalhead
 
Metal,

Can you not just put them into a header (.h) file and port it to any projects you want it to be included with? Simply a matter of using an include statement.

Good luck,
Kevin

- "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.
 
thanks, i guess i could but it would be interesting it use a dll, and know how if i needed to use one in the future.
 
You must include the dll header name in the client .cpp and setup linkinig in the Project--> Seetings --> link. Place name of lib file here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top