Click here to Skip to main content
15,441,280 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: How Static variable persists/retains its value.? Pin
Sajeesh Payolam9-Dec-12 20:25
MemberSajeesh Payolam9-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 Payolam10-Dec-12 16:50
MemberSajeesh Payolam10-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_9-Dec-12 5:44
MemberVaclav_9-Dec-12 5:44 
AnswerRe: VC6.0 compiler error C2664 while using GUID Pin
Richard MacCutchan9-Dec-12 6:02
mveRichard MacCutchan9-Dec-12 6:02 
Vaclav_Sal wrote:
The API fails with this error C2664
You are not using the API, this is a compiler error.
Vaclav_Sal wrote:
cannot convert parameter 2 from 'const struct _GUID *' to 'struct _GUID *'
You are passing a const parameter to a function that does not expect one. Use const_cast[^] to remove it. But be sure you understand the potential consequences.
One of these days I'm going to think of a really clever signature.

GeneralRe: VC6.0 compiler error C2664 while using GUID Pin
Vaclav_9-Dec-12 7:14
MemberVaclav_9-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
mveRichard 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 

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.