Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with loading DLL on a computer that doesn't have VC++ installed... Pin
Rickard Andersson201-Jan-02 1:57
Rickard Andersson201-Jan-02 1:57 
GeneralRe: Problem with loading DLL on a computer that doesn't have VC++ installed... Pin
The_Server1-Jan-02 2:47
The_Server1-Jan-02 2:47 
GeneralRe: Problem with loading DLL on a computer that doesn't have VC++ installed... Pin
Rickard Andersson201-Jan-02 4:53
Rickard Andersson201-Jan-02 4:53 
Generalwin32 API with c# Pin
kasturirawat31-Dec-01 13:55
kasturirawat31-Dec-01 13:55 
GeneralAuto URL detect Pin
Nnamdi Onyeyiri31-Dec-01 7:40
Nnamdi Onyeyiri31-Dec-01 7:40 
GeneralCompiling DLL in Release Mode Pin
Nnamdi Onyeyiri31-Dec-01 7:37
Nnamdi Onyeyiri31-Dec-01 7:37 
GeneralStatic Binding & Dynamic Binding :: C++ Pin
valikac31-Dec-01 7:15
valikac31-Dec-01 7:15 
GeneralRe: Static Binding & Dynamic Binding :: C++ Pin
Christian Graus31-Dec-01 10:42
protectorChristian Graus31-Dec-01 10:42 
<small><b>kuphryn wrote:
</b></small><i>Lastly, I too want to implement dynimic binding if it is possible to declare *one* object of either the base class or the derived class. The following is *not correct*:

------------------------
classBase *cDynamic = new classDerived
------------------------

In other words, *virtual* would be great if there is a way to use it without having to declare two seperate classes like the example from Deitel & Deitel.</i>

There is no reason you cannot do this, I did it extensively in a paint package I wrote. I created a virtual base class called CTool, or something, and then created derived classes like CToolFill, CToolRectangle, etc. My Mainframe had a member CTool*, and when I changed tools I would delete it, and make it a new CToolFill, or whatever tool was selected.



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

<Center><A href = "http://www.sonork.com" target = "_Blank">Sonork</A> ID 100.10002:MeanManOz</Center><Center>I live in <U><B>Bob's HungOut</B></U> now</center>
GeneralRe: Static Binding & Dynamic Binding :: C++ Pin
valikac31-Dec-01 11:56
valikac31-Dec-01 11:56 
GeneralRe: Static Binding & Dynamic Binding :: C++ Pin
2-Jan-02 7:56
suss2-Jan-02 7:56 
GeneralRe: Static Binding & Dynamic Binding :: C++ Pin
valikac2-Jan-02 14:22
valikac2-Jan-02 14:22 
GeneralGraph Pin
Sonu Kapoor31-Dec-01 5:09
Sonu Kapoor31-Dec-01 5:09 
GeneralRe: Graph Pin
Ravi Bhavnani31-Dec-01 5:13
professionalRavi Bhavnani31-Dec-01 5:13 
GeneralCHtmlView Pin
31-Dec-01 4:36
suss31-Dec-01 4:36 
GeneralRe: CHtmlView Pin
Philip Patrick1-Jan-02 2:49
professionalPhilip Patrick1-Jan-02 2:49 
Generalcall a function from more then 1 project Pin
Aviv Halperin31-Dec-01 4:23
Aviv Halperin31-Dec-01 4:23 
GeneralRe: call a function from more then 1 project Pin
Chris Losinger31-Dec-01 4:32
professionalChris Losinger31-Dec-01 4:32 
GeneralLoading function from an exe... Pin
Rickard Andersson2031-Dec-01 3:08
Rickard Andersson2031-Dec-01 3:08 
GeneralRe: Loading function from an exe... Pin
BlackSmith31-Dec-01 5:33
BlackSmith31-Dec-01 5:33 
GeneralMFC Extention DLL - Exporting classes..... Pin
BlackSmith31-Dec-01 2:49
BlackSmith31-Dec-01 2:49 
GeneralRe: MFC Extention DLL - Exporting classes..... Pin
Nnamdi Onyeyiri31-Dec-01 7:18
Nnamdi Onyeyiri31-Dec-01 7:18 
Questionmenu from resource redrawing? Pin
Kuniva31-Dec-01 2:40
Kuniva31-Dec-01 2:40 
AnswerRe: menu from resource redrawing? Pin
567890123431-Dec-01 4:37
567890123431-Dec-01 4:37 
AnswerRe: menu from resource redrawing? Pin
Michael Dunn31-Dec-01 7:09
sitebuilderMichael Dunn31-Dec-01 7:09 
GeneralHow do i add the handler? Pin
Kuniva1-Jan-02 3:37
Kuniva1-Jan-02 3:37 

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.