Click here to Skip to main content
11,629,535 members (61,775 online)

C / C++ / MFC

 
GeneralRe: Bit field ordering on Big-Endian (SPARC) processor Pin
Holmes.Sherlock11-Dec-12 12:48
memberHolmes.Sherlock11-Dec-12 12:48 
QuestionThread Pin
messages11-Dec-12 1:25
membermessages11-Dec-12 1:25 
AnswerRe: Thread Pin
manoranjan11-Dec-12 1:56
membermanoranjan11-Dec-12 1:56 
GeneralRe: Thread Pin
messages11-Dec-12 2:10
membermessages11-Dec-12 2:10 
QuestionRe: Thread Pin
DavidCrow11-Dec-12 2:33
memberDavidCrow11-Dec-12 2:33 
AnswerRe: Thread Pin
messages11-Dec-12 4:17
membermessages11-Dec-12 4:17 
GeneralRe: Thread Pin
DavidCrow11-Dec-12 4:55
memberDavidCrow11-Dec-12 4:55 
GeneralRe: Thread Pin
messages11-Dec-12 5:25
membermessages11-Dec-12 5:25 
QuestionCMFCPropertyGridProperty - Protected methods don't get called Pin
Simon Langdon10-Dec-12 1:08
memberSimon Langdon10-Dec-12 1:08 
QuestionKnowing window procedure from handle Pin
Sakhalean9-Dec-12 22:07
memberSakhalean9-Dec-12 22:07 
AnswerRe: Knowing window procedure from handle Pin
Richard MacCutchan9-Dec-12 23:40
mvpRichard MacCutchan9-Dec-12 23:40 
AnswerRe: Knowing window procedure from handle Pin
CPallini10-Dec-12 7:04
mvpCPallini10-Dec-12 7:04 
QuestionHow Static variable persists/retains its value.? Pin
mbatra319-Dec-12 19:53
membermbatra319-Dec-12 19:53 
AnswerRe: How Static variable persists/retains its value.? Pin
PecuniousPete9-Dec-12 20:20
memberPecuniousPete9-Dec-12 20:20 
Because a static variable, even when declared in side a func, is created in the DATA section of a programs run space. Think of it like a global static variable that gets initialised to zero and whose value is of course persistent.

An ordinary variable declared inside a func is created on the stack. This of course winds back and forwards so when the func returns the space that variable used is lost to the next func you call.
AnswerRe: How Static variable persists/retains its value.? Pin
sajeesh.c9-Dec-12 20:25
membersajeesh.c9-Dec-12 20:25 
GeneralRe: How Static variable persists/retains its value.? Pin
PecuniousPete10-Dec-12 7:58
memberPecuniousPete10-Dec-12 7:58 
GeneralRe: How Static variable persists/retains its value.? Pin
sajeesh.c10-Dec-12 16:50
membersajeesh.c10-Dec-12 16:50 
GeneralRe: How Static variable persists/retains its value.? Pin
PecuniousPete11-Dec-12 7:18
memberPecuniousPete11-Dec-12 7:18 
QuestionVC6.0 compiler error C2664 while using GUID Pin
Vaclav_Sal9-Dec-12 5:44
memberVaclav_Sal9-Dec-12 5:44 
AnswerRe: VC6.0 compiler error C2664 while using GUID Pin
Richard MacCutchan9-Dec-12 6:02
mvpRichard MacCutchan9-Dec-12 6:02 
GeneralRe: VC6.0 compiler error C2664 while using GUID Pin
Vaclav_Sal9-Dec-12 7:14
memberVaclav_Sal9-Dec-12 7:14 
GeneralRe: VC6.0 compiler error C2664 while using GUID Pin
jschell9-Dec-12 8:16
memberjschell9-Dec-12 8:16 
AnswerRe: VC6.0 compiler error C2664 while using GUID Pin
PecuniousPete10-Dec-12 8:00
memberPecuniousPete10-Dec-12 8:00 
AnswerRe: VC6.0 compiler error C2664 while using GUID Pin
Arild Fiskum19-Dec-12 10:18
memberArild Fiskum19-Dec-12 10:18 
QuestionFork Implementation using the native API RtlCloneUserProcess Pin
akhilmv889-Dec-12 4:00
memberakhilmv889-Dec-12 4:00 
QuestionDeclaring a TBYTE in C. Pin
Member 41945938-Dec-12 15:04
memberMember 41945938-Dec-12 15:04 
AnswerRe: Declaring a TBYTE in C. Pin
manoranjan8-Dec-12 20:56
membermanoranjan8-Dec-12 20:56 
GeneralRe: Declaring a TBYTE in C. Pin
Member 41945939-Dec-12 3:29
memberMember 41945939-Dec-12 3:29 
GeneralRe: Declaring a TBYTE in C. Pin
manoranjan9-Dec-12 23:47
membermanoranjan9-Dec-12 23:47 
GeneralRe: Declaring a TBYTE in C. Pin
Member 419459310-Dec-12 12:11
memberMember 419459310-Dec-12 12:11 
GeneralRe: Declaring a TBYTE in C. Pin
manoranjan11-Dec-12 1:35
membermanoranjan11-Dec-12 1:35 
QuestionMethods bank account Pin
Magda63477-Dec-12 10:17
memberMagda63477-Dec-12 10:17 
AnswerRe: Methods bank account Pin
Richard MacCutchan7-Dec-12 21:56
mvpRichard MacCutchan7-Dec-12 21:56 
AnswerRe: Methods bank account Pin
Alan Balkany10-Dec-12 5:43
memberAlan Balkany10-Dec-12 5:43 
AnswerRe: Methods bank account Pin
PecuniousPete10-Dec-12 8:05
memberPecuniousPete10-Dec-12 8:05 
GeneralRe: Methods bank account Pin
Magda634713-Mar-13 11:36
memberMagda634713-Mar-13 11:36 
Questionread text file Pin
peoria1237-Dec-12 9:59
memberpeoria1237-Dec-12 9:59 
AnswerRe: read text file Pin
André Kraak7-Dec-12 20:56
memberAndré Kraak7-Dec-12 20:56 
AnswerRe: read text file Pin
sajeesh.c9-Dec-12 21:05
membersajeesh.c9-Dec-12 21:05 
QuestionWM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_Sal7-Dec-12 4:10
memberVaclav_Sal7-Dec-12 4:10 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Jochen Arndt7-Dec-12 5:56
memberJochen Arndt7-Dec-12 5:56 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
jeron17-Dec-12 5:59
memberjeron17-Dec-12 5:59 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_Sal7-Dec-12 6:58
memberVaclav_Sal7-Dec-12 6:58 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Richard MacCutchan7-Dec-12 21:51
mvpRichard MacCutchan7-Dec-12 21:51 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_Sal9-Dec-12 5:47
memberVaclav_Sal9-Dec-12 5:47 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
PecuniousPete9-Dec-12 20:23
memberPecuniousPete9-Dec-12 20:23 
Questionhow to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 2:32
memberFalconapollo7-Dec-12 2:32 
AnswerRe: how to find out the codes who eat up my memory? Pin
Richard MacCutchan7-Dec-12 2:54
mvpRichard MacCutchan7-Dec-12 2:54 
QuestionRe: how to find out the codes who eat up my memory? Pin
DavidCrow7-Dec-12 2:55
memberDavidCrow7-Dec-12 2:55 
AnswerRe: how to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 3:11
memberFalconapollo7-Dec-12 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150723.1 | Last Updated 27 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid