Click here to Skip to main content
15,900,464 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to use IcmpCreateFile(); Pin
David Crow26-Oct-09 10:31
David Crow26-Oct-09 10:31 
AnswerRe: How to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 17:29
Manmohan2926-Oct-09 17:29 
QuestionRe: How to use IcmpCreateFile(); Pin
David Crow27-Oct-09 3:02
David Crow27-Oct-09 3:02 
AnswerRe: How to use IcmpCreateFile(); Pin
Randor 26-Oct-09 10:48
professional Randor 26-Oct-09 10:48 
GeneralRe: How to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 17:08
Manmohan2926-Oct-09 17:08 
Questioninheritance Pin
khomeyni26-Oct-09 9:40
khomeyni26-Oct-09 9:40 
AnswerRe: inheritance Pin
David Crow26-Oct-09 9:54
David Crow26-Oct-09 9:54 
GeneralRe: inheritance Pin
khomeyni27-Oct-09 6:19
khomeyni27-Oct-09 6:19 
in the name of god
hello and thanks for your guide
but my question is that every time we need the m_instance of class DrivedContainer we must use TestFunction as in the main belowthat it is not good way to do this in every initializing;
is there any way to avoid writing TestFunction and casting the m_instance to DrivedMember class object?


void TestFunction()
{
DerivedMemer *pIs = static_cast<derivedmemer *="">(this->m_instance);
pIs->testDerived=100;
}

int main(int argc, _TCHAR* argv[])
{
DerivedContainer der;
der.TestFunction();
return 0;
}

thanks
valhamdolelah
QuestionRe: inheritance Pin
David Crow27-Oct-09 6:30
David Crow27-Oct-09 6:30 
AnswerRe: inheritance Pin
khomeyni27-Oct-09 6:56
khomeyni27-Oct-09 6:56 
GeneralRe: inheritance Pin
David Crow27-Oct-09 7:36
David Crow27-Oct-09 7:36 
GeneralRe: inheritance Pin
khomeyni28-Oct-09 20:54
khomeyni28-Oct-09 20:54 
QuestionThread buttons Pin
Nikz226-Oct-09 6:37
Nikz226-Oct-09 6:37 
QuestionRe: Thread buttons Pin
David Crow26-Oct-09 6:45
David Crow26-Oct-09 6:45 
AnswerRe: Thread buttons Pin
Nikz226-Oct-09 7:26
Nikz226-Oct-09 7:26 
Questionhow to convert tiff to pdf it's urgent Pin
eswar pothula26-Oct-09 5:23
eswar pothula26-Oct-09 5:23 
QuestionRe: how to convert tiff to pdf it's urgent Pin
CPallini26-Oct-09 5:41
mveCPallini26-Oct-09 5:41 
AnswerRe: how to convert tiff to pdf it's urgent Pin
David Crow26-Oct-09 6:04
David Crow26-Oct-09 6:04 
AnswerRe: how to convert tiff to pdf it's urgent Pin
Chris Losinger26-Oct-09 11:10
professionalChris Losinger26-Oct-09 11:10 
AnswerRe: how to convert tiff to pdf it's urgent Pin
Hariharasudhan R26-Oct-09 16:10
Hariharasudhan R26-Oct-09 16:10 
QuestionUnicode problem Pin
m_mun26-Oct-09 4:12
m_mun26-Oct-09 4:12 
AnswerRe: Unicode problem Pin
Hristo-Bojilov26-Oct-09 4:25
Hristo-Bojilov26-Oct-09 4:25 
GeneralRe: Unicode problem Pin
Nemanja Trifunovic26-Oct-09 4:34
Nemanja Trifunovic26-Oct-09 4:34 
GeneralRe: Unicode problem Pin
Hristo-Bojilov26-Oct-09 4:58
Hristo-Bojilov26-Oct-09 4:58 
GeneralRe: Unicode problem [modified] Pin
Nemanja Trifunovic26-Oct-09 5:25
Nemanja Trifunovic26-Oct-09 5:25 

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.