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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class Function implementation in a DLL 1

Status
Not open for further replies.

GameDude

Programmer
Jun 22, 2004
23
US
Does anyone know how to store the code behind the functions for a class in a DLL? I know how to store them in an LIB, and I know how to store regular functions in a DLL, but I can't figure out how to write the functionality for a class in a DLL and load THAT in.

Thanks
 
// declaration for exporting from dll
class __declspec(dllexport) yourclass{....};


// declaration for importing from dll in the exe
class __declspec(dllimport) yourclass{....};

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top