Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl Pin
Bret Faller13-Aug-01 8:08
Bret Faller13-Aug-01 8:08 
Question32/64/96bit integers? Pin
Kevin Power10-Aug-01 15:23
Kevin Power10-Aug-01 15:23 
AnswerRe: 32/64/96bit integers? Pin
Wolfram Steinke10-Aug-01 16:16
Wolfram Steinke10-Aug-01 16:16 
AnswerRe: 32/64/96bit integers? Pin
Mukkie10-Aug-01 21:48
Mukkie10-Aug-01 21:48 
GeneralInternet Explorer Pin
calebcohoon10-Aug-01 14:31
calebcohoon10-Aug-01 14:31 
GeneralRegSaveKey Pin
10-Aug-01 13:47
suss10-Aug-01 13:47 
GeneralGlobals from additional files Pin
10-Aug-01 12:47
suss10-Aug-01 12:47 
Questioncreate pointers to different classes??? Pin
Bob Bain10-Aug-01 11:34
Bob Bain10-Aug-01 11:34 
I'm working on code for a real-time control system. This will sound strange but here goes. I've built classes for all the elements of the control (i.e. digital filters and related components). Each of then descends from a base class (Tsignalprocessor) which supports linking actions and data between them. I want to read a script (run time) then instantiate and configure the various components based upon the script. I also want to be able to insert/delete/reconfigure components at run time. To do this I'd like to use a dynamically allocated block of pointers (to each instantiated component). In straight C this was easy (just declare as void then cast pointer). How can I do this in C++? I understand how to get RTTI info, but how do I typecast the pointer (since I want to draw from a block of pointers and point to different classes)? Please email any answers (as well as post here) to me at BobBain@MaritimeDynamics.com
AnswerRe: create pointers to different classes??? Pin
Tim Deveaux11-Aug-01 5:48
Tim Deveaux11-Aug-01 5:48 
GeneralProblem with Splitter Wnd Pin
Francis B.10-Aug-01 11:06
Francis B.10-Aug-01 11:06 
GeneralRe: Problem with Splitter Wnd Pin
10-Aug-01 11:22
suss10-Aug-01 11:22 
GeneralNeed some help Pin
Brian V Shifrin10-Aug-01 10:42
Brian V Shifrin10-Aug-01 10:42 
GeneralRe: Need some help Pin
Carlos Antollini10-Aug-01 10:56
Carlos Antollini10-Aug-01 10:56 
GeneralDuh! Pin
Brian V Shifrin10-Aug-01 11:13
Brian V Shifrin10-Aug-01 11:13 
GeneralRe: Duh! Pin
#realJSOP10-Aug-01 11:23
professional#realJSOP10-Aug-01 11:23 
GeneralRe: Need some help Pin
Derek Waters12-Aug-01 14:08
Derek Waters12-Aug-01 14:08 
Generaltons of awful errors Pin
Jake Palmer10-Aug-01 10:27
Jake Palmer10-Aug-01 10:27 
GeneralRe: tons of awful errors Pin
#realJSOP10-Aug-01 10:33
professional#realJSOP10-Aug-01 10:33 
GeneralRe: tons of awful errors Pin
Jake Palmer10-Aug-01 11:02
Jake Palmer10-Aug-01 11:02 
GeneralSource .CPP and Header .H Pin
10-Aug-01 10:06
suss10-Aug-01 10:06 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 10:54
Carlos Antollini10-Aug-01 10:54 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 11:50
suss10-Aug-01 11:50 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 12:07
Carlos Antollini10-Aug-01 12:07 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 12:14
suss10-Aug-01 12:14 
GeneralRe: Source .CPP and Header .H Pin
Stefan Pedersen11-Aug-01 14:23
Stefan Pedersen11-Aug-01 14:23 

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.