Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX Translation Engine Pin
Michael P Butler18-Mar-02 4:59
Michael P Butler18-Mar-02 4:59 
GeneralActiveX and MFC Pin
Derek Lakin18-Mar-02 3:18
Derek Lakin18-Mar-02 3:18 
GeneralRe: ActiveX and MFC Pin
Mazdak18-Mar-02 3:45
Mazdak18-Mar-02 3:45 
GeneralRe: ActiveX and MFC Pin
Derek Lakin18-Mar-02 7:06
Derek Lakin18-Mar-02 7:06 
GeneralRe: ActiveX and MFC Pin
Mazdak18-Mar-02 7:42
Mazdak18-Mar-02 7:42 
GeneralRe: ActiveX and MFC Pin
Derek Lakin18-Mar-02 11:10
Derek Lakin18-Mar-02 11:10 
GeneralRe: ActiveX and MFC Pin
Mazdak18-Mar-02 20:31
Mazdak18-Mar-02 20:31 
GeneralGeneric Class Question Pin
18-Mar-02 3:14
suss18-Mar-02 3:14 
Lets say I have two objects in my system: Cars and Trucks. They have similar functions: Start, Stop, SetPassengerCount.

Now I want to build Generic pool class so that I can hold and manipulate objects of the above classes, one pool for each class. The pool operations will be the same no matter the “type” of the pool.

When I instantiate a pool I want to tell it what type of pool it should be (Car or Truck) but I have no idea how to do this.

I tried to use void pointers but I really want to be able to “use” the objects from within the pool class. That is to say I want to “Start” , “Stop” the object but obviously I cant do this with void pointers.

I’ve searched the Internet but nothing I found really helps. Can someone suggest a few things that I should be looking into to solve this problem. I’m lost. Help.

GeneralRe: Generic Class Question Pin
Tomasz Sowinski18-Mar-02 3:18
Tomasz Sowinski18-Mar-02 3:18 
GeneralRe: Generic Class Question Pin
Bill Wilson18-Mar-02 9:07
Bill Wilson18-Mar-02 9:07 
GeneralRe: Generic Class Question (all messed up) Pin
Bill Wilson18-Mar-02 10:17
Bill Wilson18-Mar-02 10:17 
GeneralRe: Generic Class Question Pin
Bill Wilson18-Mar-02 10:19
Bill Wilson18-Mar-02 10:19 
GeneralRe: Generic Class Question Pin
Tomasz Sowinski18-Mar-02 10:16
Tomasz Sowinski18-Mar-02 10:16 
GeneralRe: Generic Class Question Pin
Bill Wilson18-Mar-02 10:44
Bill Wilson18-Mar-02 10:44 
GeneralRe: Generic Class Question Pin
Tomasz Sowinski18-Mar-02 10:41
Tomasz Sowinski18-Mar-02 10:41 
QuestionPowerPoint Automation Doco? Pin
Todd Hoop18-Mar-02 2:40
Todd Hoop18-Mar-02 2:40 
AnswerRe: PowerPoint Automation Doco? Pin
Tomasz Sowinski18-Mar-02 2:50
Tomasz Sowinski18-Mar-02 2:50 
GeneralRe: PowerPoint Automation Doco? Pin
Todd Hoop18-Mar-02 3:40
Todd Hoop18-Mar-02 3:40 
Generalfocus problem on win2k Pin
18-Mar-02 2:34
suss18-Mar-02 2:34 
GeneralRe: focus problem on win2k Pin
Tomasz Sowinski18-Mar-02 2:47
Tomasz Sowinski18-Mar-02 2:47 
GeneralWM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Joan M18-Mar-02 0:52
professionalJoan M18-Mar-02 0:52 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski18-Mar-02 1:17
Tomasz Sowinski18-Mar-02 1:17 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Joan M18-Mar-02 4:17
professionalJoan M18-Mar-02 4:17 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski18-Mar-02 4:36
Tomasz Sowinski18-Mar-02 4:36 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
C-J Berg18-Mar-02 1:58
C-J Berg18-Mar-02 1:58 

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.