Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling C Function in Dll Causing Problem Pin
mariakatosvich13-Aug-16 2:28
mariakatosvich13-Aug-16 2:28 
GeneralRe: Calling C Function in Dll Causing Problem Pin
Richard MacCutchan12-Jul-16 6:08
mveRichard MacCutchan12-Jul-16 6:08 
QuestionNcPaint and Invalid rect/region Pin
Сергей Шевченко12-Jul-16 2:00
Сергей Шевченко12-Jul-16 2:00 
AnswerRe: NcPaint and Invalid rect/region Pin
leon de boer12-Jul-16 2:33
leon de boer12-Jul-16 2:33 
GeneralRe: NcPaint and Invalid rect/region Pin
Сергей Шевченко12-Jul-16 4:15
Сергей Шевченко12-Jul-16 4:15 
QuestionCalling a method with the pointer to a base class Pin
FriendOfAsherah10-Jul-16 21:11
FriendOfAsherah10-Jul-16 21:11 
AnswerRe: Calling a method with the pointer to a base class Pin
Jochen Arndt10-Jul-16 21:47
professionalJochen Arndt10-Jul-16 21:47 
GeneralRe: Calling a method with the pointer to a base class Pin
FriendOfAsherah10-Jul-16 22:33
FriendOfAsherah10-Jul-16 22:33 
oh , the example I have is more tricky:

D should call "the next M() of any parent above the child class C1"
Its vice versa to the virtual inheritance when you call the last one in the hierarchy ...

if I call
C++
C1::anytest ()
{
   B::M();
}

it goes "up" the hierarchy an calls the next found M();
in this case A::M()


But in class D´s DoSomething where I get a ptr to C1, or C2 ...
how can do it there?
GeneralRe: Calling a method with the pointer to a base class Pin
Jochen Arndt10-Jul-16 22:52
professionalJochen Arndt10-Jul-16 22:52 
GeneralRe: Calling a method with the pointer to a base class Pin
_Flaviu11-Jul-16 1:59
_Flaviu11-Jul-16 1:59 
GeneralRe: Calling a method with the pointer to a base class Pin
leon de boer11-Jul-16 7:16
leon de boer11-Jul-16 7:16 
Questionreguired fast printing Pin
patilvaibhavrao7-Jul-16 20:39
patilvaibhavrao7-Jul-16 20:39 
AnswerRe: reguired fast printing Pin
Richard MacCutchan7-Jul-16 21:05
mveRichard MacCutchan7-Jul-16 21:05 
AnswerRe: reguired fast printing Pin
FriendOfAsherah7-Jul-16 22:25
FriendOfAsherah7-Jul-16 22:25 
AnswerRe: reguired fast printing Pin
leon de boer8-Jul-16 3:22
leon de boer8-Jul-16 3:22 
AnswerRe: reguired fast printing Pin
Patrice T8-Jul-16 10:42
mvePatrice T8-Jul-16 10:42 
QuestionOverloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 19:38
FriendOfAsherah7-Jul-16 19:38 
QuestionRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 21:09
mveCPallini7-Jul-16 21:09 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 21:54
FriendOfAsherah7-Jul-16 21:54 
QuestionRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 22:37
mveCPallini7-Jul-16 22:37 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 22:51
FriendOfAsherah7-Jul-16 22:51 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 23:37
mveCPallini7-Jul-16 23:37 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah8-Jul-16 3:45
FriendOfAsherah8-Jul-16 3:45 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
CPallini8-Jul-16 9:00
mveCPallini8-Jul-16 9:00 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah10-Jul-16 20:16
FriendOfAsherah10-Jul-16 20:16 

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.