Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Move desktop icons Pin
David Crow9-Jun-03 2:39
David Crow9-Jun-03 2:39 
GeneralRe: Move desktop icons Pin
Jarek G9-Jun-03 3:22
Jarek G9-Jun-03 3:22 
GeneralRe: Move desktop icons Pin
David Crow9-Jun-03 5:36
David Crow9-Jun-03 5:36 
GeneralRe: Move desktop icons Pin
Jarek G10-Jun-03 8:12
Jarek G10-Jun-03 8:12 
QuestionIs it Possible to export a class from a DLL? Pin
Theopulus6-Jun-03 0:29
Theopulus6-Jun-03 0:29 
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 
Yep, that's rigtht, but in this case, you'll have to include the .h and the .cpp files from all your classes in the project then!
If you use a 'kindof' COM model, you'll just have to include the .h file from the interface (just virtual functions), and then use a global function from the dll that returns a pointer to the base class that is in fact 'a pointer to a specific child class'. So, in that way, you don't have to include .h and .cpp files from all your derived classes. The client program doesn't even know the existence of the derived classes: he just call virtual functions from the base class that are redirected to functions from the derived class.

Or, I perhaps misunderstood the question Smile | :) ?
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 
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 

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.