Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need gSpan source code ( C or Linux without graphic)! Pin
linnumberone12-Feb-12 20:29
linnumberone12-Feb-12 20:29 
QuestionWIN32 API to find out color monitor v/s monochrome monitor Pin
rajandpayal15-Jun-06 16:00
rajandpayal15-Jun-06 16:00 
AnswerRe: WIN32 API to find out color monitor v/s monochrome monitor Pin
NiceNaidu15-Jun-06 19:56
NiceNaidu15-Jun-06 19:56 
GeneralRe: WIN32 API to find out color monitor v/s monochrome monitor Pin
rajandpayal16-Jun-06 10:41
rajandpayal16-Jun-06 10:41 
GeneralRe: WIN32 API to find out color monitor v/s monochrome monitor Pin
Blake Miller20-Jun-06 9:15
Blake Miller20-Jun-06 9:15 
QuestionModular app design Pin
Anton Afanasyev15-Jun-06 15:25
Anton Afanasyev15-Jun-06 15:25 
AnswerRe: Modular app design Pin
Cedric Moonen15-Jun-06 20:25
Cedric Moonen15-Jun-06 20:25 
QuestionRe: Modular app design Pin
Anton Afanasyev15-Jun-06 21:42
Anton Afanasyev15-Jun-06 21:42 
well, at least i got *A* reply...I do understand what you mean, get polymorphism quite well(ok, cant say i'm godly with my C++, but im fairly good). I do understand what youre saying. My original question is, however, how would I organize the same thing, but with CWindowType1 being implemented in a separate DLL...

say, CWindowType1 is implemented in WindowClass.dll
also, CWindowType2 is implemented in WindowClass2.dll

now, in my app I *somehow* tell it to load a DLL called "WindCls.dll", and call a function returns me a pointer to the class. The rest is as you say, yes. So, if I rename WindowClass.dll to WndCls.dll, then I get a pointer to a CWindowClass1. If however I rename WindowClass2.dll to WndCls.dll, I'd get a pointer to CWindowClass2. SO thats all fine and dandy, but the problem is how to actually make it so that I get that pointer from a DLL.

Hope that made a tiny bit more sense.
Thanks for the reply.

rara avis in terris
AnswerRe: Modular app design Pin
Cedric Moonen15-Jun-06 22:28
Cedric Moonen15-Jun-06 22:28 
GeneralRe: Modular app design Pin
Anton Afanasyev16-Jun-06 6:15
Anton Afanasyev16-Jun-06 6:15 
GeneralRe: Modular app design Pin
Cedric Moonen16-Jun-06 9:32
Cedric Moonen16-Jun-06 9:32 
QuestionCasting pointer to pointer of class [modified] Pin
Andre xxxxxxx15-Jun-06 14:31
Andre xxxxxxx15-Jun-06 14:31 
QuestionRe: Casting pointer to pointer of class [modified] Pin
#hackC++15-Jun-06 14:56
#hackC++15-Jun-06 14:56 
AnswerRe: Casting pointer to pointer of class [modified] Pin
Andre xxxxxxx15-Jun-06 15:03
Andre xxxxxxx15-Jun-06 15:03 
AnswerRe: Casting pointer to pointer of class Pin
Michael Dunn15-Jun-06 16:13
sitebuilderMichael Dunn15-Jun-06 16:13 
GeneralRe: Casting pointer to pointer of class Pin
Stephen Hewitt15-Jun-06 18:23
Stephen Hewitt15-Jun-06 18:23 
GeneralRe: Casting pointer to pointer of class Pin
Michael Dunn15-Jun-06 20:41
sitebuilderMichael Dunn15-Jun-06 20:41 
GeneralRe: Casting pointer to pointer of class [modified] Pin
Stephen Hewitt15-Jun-06 20:46
Stephen Hewitt15-Jun-06 20:46 
AnswerRe: Casting pointer to pointer of class [modified] Pin
Arvind Bharti15-Jun-06 17:10
Arvind Bharti15-Jun-06 17:10 
AnswerRe: Casting pointer to pointer of class [modified] Pin
Stephen Hewitt15-Jun-06 18:40
Stephen Hewitt15-Jun-06 18:40 
QuestionLayered Window Question - UpdateLayeredWindow() API [modified] Pin
JeanneBucks15-Jun-06 13:17
JeanneBucks15-Jun-06 13:17 
QuestionHard question about Critical section - in C++ .... Pin
Yanshof15-Jun-06 10:16
Yanshof15-Jun-06 10:16 
AnswerRe: Hard question about Critical section - in C++ .... Pin
Eric Dahlvang15-Jun-06 10:40
Eric Dahlvang15-Jun-06 10:40 
AnswerRe: Hard question about Critical section - in C++ .... Pin
David Crow15-Jun-06 10:46
David Crow15-Jun-06 10:46 
GeneralRe: Hard question - still without answer Pin
Yanshof15-Jun-06 11:40
Yanshof15-Jun-06 11: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.