Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to find unsued disk space in a Disk programatically. Pin
Shiv Murti Pal31-Oct-09 2:11
Shiv Murti Pal31-Oct-09 2:11 
QuestionNTSC HD video via HDMI output the hard way. Pin
ChicagoBobT26-Oct-09 13:28
ChicagoBobT26-Oct-09 13:28 
QuestionIntegrate CView desrived class into a dialog box Pin
transoft26-Oct-09 12:13
transoft26-Oct-09 12:13 
AnswerRe: Integrate CView desrived class into a dialog box Pin
Randor 26-Oct-09 16:27
professional Randor 26-Oct-09 16:27 
AnswerRe: Integrate CView desrived class into a dialog box Pin
Iain Clarke, Warrior Programmer27-Oct-09 3:17
Iain Clarke, Warrior Programmer27-Oct-09 3:17 
GeneralRe: Integrate CView desrived class into a dialog box Pin
transoft27-Oct-09 6:22
transoft27-Oct-09 6:22 
QuestionRe: Integrate CView desrived class into a dialog box Pin
David Crow27-Oct-09 6:35
David Crow27-Oct-09 6:35 
AnswerRe: Integrate CView desrived class into a dialog box Pin
transoft27-Oct-09 8:43
transoft27-Oct-09 8:43 
QuestionRe: Integrate CView desrived class into a dialog box Pin
David Crow27-Oct-09 8:49
David Crow27-Oct-09 8:49 
QuestionHow to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 10:08
Manmohan2926-Oct-09 10:08 
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 

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.