Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OnKillFocus Pin
James R. Twine12-Jan-07 1:37
James R. Twine12-Jan-07 1:37 
QuestionHow to Call a static member variable from another DLL Pin
uday kiran janaswamy11-Jan-07 22:28
uday kiran janaswamy11-Jan-07 22:28 
AnswerRe: How to Call a static member variable from another DLL Pin
Gupta Suraj11-Jan-07 23:05
Gupta Suraj11-Jan-07 23:05 
Questioncast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:10
yeti1111-Jan-07 22:10 
AnswerRe: cast template class A : public B, public vector Pin
Cedric Moonen11-Jan-07 22:14
Cedric Moonen11-Jan-07 22:14 
GeneralRe: cast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:16
yeti1111-Jan-07 22:16 
GeneralRe: cast template class A : public B, public vector Pin
Cedric Moonen11-Jan-07 22:31
Cedric Moonen11-Jan-07 22:31 
GeneralRe: cast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:40
yeti1111-Jan-07 22:40 
Well its a long story, i'll try to make it short. You got a class structure (class has member variables that can be ints, strings, whatever, classes, ptrs). In every constructor, pointers (or pointers to pointers) to member variables (and some other stuff,...) are stored in dispatch table in my class that is base class of every class used. With this i can convert all the class structure to xml and recreate it from xml. It works like a charm Cool | :cool: , but now i have described problem.

I have thought about the walkaround you described, but unfortunally the dam* template is """legacy""" i got and it is used everywhere. Changing anything would mean a lot of modifying unless i recreate all the base operations. Sure it would work but cast would be more efficient solution.
GeneralRe: cast template class A : public B, public vector Pin
yeti1111-Jan-07 23:11
yeti1111-Jan-07 23:11 
AnswerRe: cast template class A : public B, public vector Pin
Arman S.12-Jan-07 1:59
Arman S.12-Jan-07 1:59 
GeneralRe: cast template class A : public B, public vector Pin
yeti1112-Jan-07 2:10
yeti1112-Jan-07 2:10 
QuestionHow to force messages to be routed to a specific class ? Pin
Arris7411-Jan-07 21:54
Arris7411-Jan-07 21:54 
AnswerRe: How to force messages to be routed to a specific class ? Pin
Michael Dunn11-Jan-07 21:57
sitebuilderMichael Dunn11-Jan-07 21:57 
GeneralRe: How to force messages to be routed to a specific class ? Pin
Arris7411-Jan-07 22:40
Arris7411-Jan-07 22:40 
QuestionParsing C File Pin
abhi_code11-Jan-07 21:49
abhi_code11-Jan-07 21:49 
AnswerRe: Parsing C File Pin
Rage11-Jan-07 22:33
professionalRage11-Jan-07 22:33 
GeneralRe: Parsing C File Pin
abhi_code31-Jan-07 19:06
abhi_code31-Jan-07 19:06 
AnswerRe: Parsing C File Pin
James R. Twine12-Jan-07 1:42
James R. Twine12-Jan-07 1:42 
GeneralRe: Parsing C File Pin
abhi_code16-Jan-07 5:52
abhi_code16-Jan-07 5:52 
QuestionHow to type japanese font in resource in VC++ projects Pin
Atul2311-Jan-07 20:47
Atul2311-Jan-07 20:47 
AnswerRe: How to type japanese font in resource in VC++ projects Pin
Haroon Sarwar11-Jan-07 20:55
Haroon Sarwar11-Jan-07 20:55 
AnswerRe: How to type japanese font in resource in VC++ projects Pin
Rajesh R Subramanian11-Jan-07 21:02
professionalRajesh R Subramanian11-Jan-07 21:02 
AnswerRe: How to type japanese font in resource in VC++ projects Pin
Hamid_RT11-Jan-07 21:04
Hamid_RT11-Jan-07 21:04 
QuestionDifference between Service and Console Application Pin
Kotesh.N11-Jan-07 20:10
Kotesh.N11-Jan-07 20:10 
AnswerRe: Difference between Service and Console Application Pin
Jonathan [Darka]11-Jan-07 22:38
professionalJonathan [Darka]11-Jan-07 22: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.