Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CFrameWnd and CPropertySheet Pin
Alex_Y28-Jul-05 8:36
Alex_Y28-Jul-05 8:36 
GeneralProblem with DirectShow Pin
perroflaco28-Jul-05 1:59
perroflaco28-Jul-05 1:59 
GeneralRe: Problem with DirectShow Pin
mark novak28-Jul-05 4:57
mark novak28-Jul-05 4:57 
GeneralRe: Problem with DirectShow Pin
perroflaco28-Jul-05 8:08
perroflaco28-Jul-05 8:08 
GeneralRe: Problem with DirectShow Pin
mark novak28-Jul-05 13:00
mark novak28-Jul-05 13:00 
GeneralRe: Problem with DirectShow Pin
Alexander M.,28-Jul-05 8:51
Alexander M.,28-Jul-05 8:51 
GeneralRe: Problem with DirectShow Pin
perroflaco31-Jul-05 23:02
perroflaco31-Jul-05 23:02 
Questiondynamic class instantiation in c++? Pin
ThinkingPrometheus28-Jul-05 1:38
ThinkingPrometheus28-Jul-05 1:38 
hiho@ll

first i have to say i need to solve this problem using linux, but i think it's a more c++ related question than linux

what i need:
explanation: i know that templates can generalize the datatype used for a class
so the class can work with an int, string, char, pointers
simply with different data types
my problem is something similar
i need a template for instaniating a class
this means, i want a configuration file, which says which class i need to use for the job i have to do
something like a string to object converter Wink | ;-)

i thought about make a abstract class and inherit from this and instantiate the needed class using the string
but the point is, i don't know how (or if this is possible) instantiate a object where the only knowledge of which object type to use is my configuration string

i hope it's understandable

greet@ll
AnswerRe: dynamic class instantiation in c++? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 2:02
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 2:02 
AnswerRe: dynamic class instantiation in c++? Pin
berndg28-Jul-05 2:12
berndg28-Jul-05 2:12 
AnswerRe: dynamic class instantiation in c++? Pin
Bob Stanneveld28-Jul-05 5:14
Bob Stanneveld28-Jul-05 5:14 
AnswerRe: dynamic class instantiation in c++? Pin
Giles28-Jul-05 7:04
Giles28-Jul-05 7:04 
GeneralRe: dynamic class instantiation in c++? Pin
ThinkingPrometheus2-Aug-05 2:37
ThinkingPrometheus2-Aug-05 2:37 
GeneralCListView usage Pin
B.R.Singh28-Jul-05 1:19
B.R.Singh28-Jul-05 1:19 
GeneralRe: CListView usage Pin
Mohammed F. Salem28-Jul-05 4:26
Mohammed F. Salem28-Jul-05 4:26 
GeneralRe: CListView usage Pin
David Crow28-Jul-05 5:11
David Crow28-Jul-05 5:11 
General,CListView Usage Pin
B.R.Singh28-Jul-05 1:14
B.R.Singh28-Jul-05 1:14 
GeneralLooking for an advice about password authentication Pin
Halawlaws28-Jul-05 1:07
Halawlaws28-Jul-05 1:07 
GeneralRe: Looking for an advice about password authentication Pin
mark novak28-Jul-05 4:45
mark novak28-Jul-05 4:45 
QuestionIs there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02 
AnswerRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 2:15
berndg28-Jul-05 2:15 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21 
GeneralRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 4:27
berndg28-Jul-05 4:27 
AnswerRe: Is there a #define for Multi-Threading? Pin
Blake Miller28-Jul-05 5:09
Blake Miller28-Jul-05 5:09 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19 

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.