Click here to Skip to main content
15,922,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it Possible to export a class from a DLL? Pin
Cedric Moonen6-Jun-03 1:14
Cedric Moonen6-Jun-03 1:14 
GeneralRe: Is it Possible to export a class from a DLL? Pin
berndg6-Jun-03 2:29
berndg6-Jun-03 2:29 
GeneralRe: Is it Possible to export a class from a DLL? Pin
Cedric Moonen6-Jun-03 2:49
Cedric Moonen6-Jun-03 2:49 
GeneralRe: Is it Possible to export a class from a DLL? Pin
berndg6-Jun-03 2:58
berndg6-Jun-03 2:58 
GeneralRe: Is it Possible to export a class from a DLL? Pin
geo_m6-Jun-03 3:40
geo_m6-Jun-03 3:40 
GeneralRe: Is it Possible to export a class from a DLL? Pin
berndg6-Jun-03 3:53
berndg6-Jun-03 3:53 
GeneralRe: Is it Possible to export a class from a DLL? Pin
Theopulus6-Jun-03 6:02
Theopulus6-Jun-03 6:02 
GeneralRe: Is it Possible to export a class from a DLL? Pin
berndg6-Jun-03 6:15
berndg6-Jun-03 6:15 
Fernando,
if you want to ship a library, then you must allow clients to connect to that library. One technique is to use static linkage. To do that, you will ship a .lib file and a header file. Another technique is dynamic linkage, for which you will ship a .DLL and a header file. Finally, you could ship COM controls, which come in the physical form of .DLL or .OCX files. You don't need to include header files because COM provides query mechanisms, but essentially in any case you cannot just ship something without letting your user's compiler know what it is.

You seek the impossible unless you don't wish your DLL to be of any use - in which case you could just ship a DLL without a header file Unsure | :~
Bernd
GeneralRe: Is it Possible to export a class from a DLL? Pin
berndg6-Jun-03 6:17
berndg6-Jun-03 6:17 
GeneralRe: Is it Possible to export a class from a DLL? Pin
Theopulus9-Jun-03 1:03
Theopulus9-Jun-03 1:03 
QuestionHow to get notification of drag-drop of headers in CListCtrl Pin
Wormhole52306-Jun-03 0:21
Wormhole52306-Jun-03 0:21 
AnswerRe: How to get notification of drag-drop of headers in CListCtrl Pin
YoSilver6-Jun-03 4:47
YoSilver6-Jun-03 4:47 
GeneralSmart Card Inserts & Removes Pin
Fad B5-Jun-03 22:41
Fad B5-Jun-03 22:41 
GeneralCPropertyPage Pin
BlackRider5-Jun-03 22:35
BlackRider5-Jun-03 22:35 
GeneralRe: CPropertyPage Pin
Rage5-Jun-03 22:47
professionalRage5-Jun-03 22:47 
GeneralRe: CPropertyPage Pin
Cedric Moonen5-Jun-03 22:50
Cedric Moonen5-Jun-03 22:50 
GeneralTesting for Power-Off support Pin
Ernesto D.5-Jun-03 22:09
Ernesto D.5-Jun-03 22:09 
GeneralCreating a dll Pin
Toni785-Jun-03 21:53
Toni785-Jun-03 21:53 
GeneralRe: Creating a dll Pin
Andrew Walker5-Jun-03 22:11
Andrew Walker5-Jun-03 22:11 
GeneralRe: Creating a dll Pin
Toni785-Jun-03 22:21
Toni785-Jun-03 22:21 
GeneralRe: Creating a dll Pin
Cedric Moonen5-Jun-03 22:46
Cedric Moonen5-Jun-03 22:46 
GeneralRe: Creating a dll Pin
Toni785-Jun-03 22:48
Toni785-Jun-03 22:48 
GeneralRe: Creating a dll Pin
Cedric Moonen5-Jun-03 22:56
Cedric Moonen5-Jun-03 22:56 
GeneralRe: Creating a dll Pin
Toni786-Jun-03 11:15
Toni786-Jun-03 11:15 
GeneralMessaging question Pin
Stan the man5-Jun-03 21:38
Stan the man5-Jun-03 21:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.