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

C / C++ / MFC

 
GeneralRe: Hyperlinks in a CTreeCtrl Pin
Beer2626-Jul-03 6:49
Beer2626-Jul-03 6:49 
GeneralRe: Hyperlinks in a CTreeCtrl Pin
Andrew Schetinin26-Jul-03 8:29
Andrew Schetinin26-Jul-03 8:29 
QuestionPointer? Pin
wow999926-Jul-03 5:04
wow999926-Jul-03 5:04 
AnswerRe: Pointer? Pin
Maximilien26-Jul-03 5:10
Maximilien26-Jul-03 5:10 
GeneralRe: Pointer? Pin
wow999926-Jul-03 5:15
wow999926-Jul-03 5:15 
GeneralRe: Pointer? Pin
markkuk26-Jul-03 5:19
markkuk26-Jul-03 5:19 
GeneralRe: Pointer? Pin
geo_m26-Jul-03 5:20
geo_m26-Jul-03 5:20 
GeneralRe: Pointer? Pin
XP26-Jul-03 5:24
XP26-Jul-03 5:24 
(CTestDoc*)m_pDocument; //this is type cast
CTestDoc* m_pDocument; //this declares a variable

Consider this:

void* GetDocument(); //function declaration -> notice it returns a void*

CTestDoc* m_pDocument; //declare a variable of type CTestDoc*
m_pDocument = (CTestDoc*) GetDocument(); //Call the function. Notice how the result is cast using (CTestDoc*). A void* would not fit into the m_pDocument variable of type CTestDoc*. Hence it is cast using (CTestDoc*).

XP

AnswerRe: Pointer? Pin
wow999926-Jul-03 5:26
wow999926-Jul-03 5:26 
GeneralRe: Pointer? Pin
Maximilien26-Jul-03 5:42
Maximilien26-Jul-03 5:42 
GeneralRe: Pointer? Pin
Ravi Bhavnani26-Jul-03 7:28
professionalRavi Bhavnani26-Jul-03 7:28 
QuestionHow to block execution of GUI programs passed to command.com/cmd.exe Pin
nick4u26-Jul-03 3:47
nick4u26-Jul-03 3:47 
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
spoulson26-Jul-03 4:55
spoulson26-Jul-03 4:55 
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
Andrew Schetinin26-Jul-03 8:44
Andrew Schetinin26-Jul-03 8:44 
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
Ryan Binns26-Jul-03 20:39
Ryan Binns26-Jul-03 20:39 
Questionsignal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George226-Jul-03 3:13
George226-Jul-03 3:13 
AnswerRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²26-Jul-03 4:21
Johnny ²26-Jul-03 4:21 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George226-Jul-03 16:36
George226-Jul-03 16:36 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²26-Jul-03 21:41
Johnny ²26-Jul-03 21:41 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George227-Jul-03 1:34
George227-Jul-03 1:34 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²27-Jul-03 6:55
Johnny ²27-Jul-03 6:55 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George227-Jul-03 15:59
George227-Jul-03 15:59 
Generala strange problemo.. Pin
safee ullah26-Jul-03 3:00
safee ullah26-Jul-03 3:00 
GeneralRe: a strange problemo.. Pin
geo_m26-Jul-03 4:46
geo_m26-Jul-03 4:46 
GeneralRe: a strange problemo.. Pin
safee ullah27-Jul-03 18:01
safee ullah27-Jul-03 18:01 

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.