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

C / C++ / MFC

 
AnswerRe: how to use the srand function??? Pin
David Chamberlain6-Jun-03 3:29
David Chamberlain6-Jun-03 3:29 
GeneralRe: how to use the srand function??? Pin
Anonymous6-Jun-03 4:00
Anonymous6-Jun-03 4:00 
GeneralConvert CString to char * Pin
Vassili6-Jun-03 3:01
Vassili6-Jun-03 3:01 
GeneralRe: Convert CString to char * Pin
Anonymous6-Jun-03 3:32
Anonymous6-Jun-03 3:32 
GeneralRe: Convert CString to char * Pin
Rage6-Jun-03 3:41
professionalRage6-Jun-03 3:41 
GeneralRe: Convert CString to char * Pin
jhwurmbach6-Jun-03 4:35
jhwurmbach6-Jun-03 4:35 
GeneralRe: Convert CString to char * Pin
Rage6-Jun-03 5:21
professionalRage6-Jun-03 5:21 
GeneralRe: Convert CString to char * Pin
jhwurmbach6-Jun-03 5:27
jhwurmbach6-Jun-03 5:27 
GeneralRe: Convert CString to char * Pin
Michael Dunn6-Jun-03 9:08
sitebuilderMichael Dunn6-Jun-03 9:08 
QuestionWhere to find common toolbar xp icons? Pin
Nicolas Bonamy6-Jun-03 2:37
Nicolas Bonamy6-Jun-03 2:37 
Question?????CListCtrl???? Pin
Stefcos6-Jun-03 1:59
Stefcos6-Jun-03 1:59 
AnswerRe: ?????CListCtrl???? Pin
David Crow6-Jun-03 2:27
David Crow6-Jun-03 2:27 
GeneralMove desktop icons Pin
Jarek G6-Jun-03 1:58
Jarek G6-Jun-03 1:58 
GeneralRe: Move desktop icons Pin
David Crow6-Jun-03 2:29
David Crow6-Jun-03 2:29 
GeneralRe: Move desktop icons Pin
Jarek G6-Jun-03 22:00
Jarek G6-Jun-03 22:00 
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 

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.