Click here to Skip to main content
15,891,895 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How an exe should automatically be deleted after completing its execution? Pin
toxcct23-Feb-06 5:51
toxcct23-Feb-06 5:51 
AnswerRe: How an exe should automatically be deleted after completing its execution? Pin
David Crow23-Feb-06 6:03
David Crow23-Feb-06 6:03 
QuestionAssigning the max Size for object arrays Pin
Spykraft23-Feb-06 3:33
Spykraft23-Feb-06 3:33 
AnswerRe: Assigning the max Size for object arrays Pin
David Crow23-Feb-06 3:58
David Crow23-Feb-06 3:58 
GeneralRe: Assigning the max Size for object arrays Pin
Spykraft23-Feb-06 4:13
Spykraft23-Feb-06 4:13 
GeneralRe: Assigning the max Size for object arrays Pin
Cedric Moonen23-Feb-06 4:17
Cedric Moonen23-Feb-06 4:17 
GeneralRe: Assigning the max Size for object arrays Pin
toxcct23-Feb-06 4:18
toxcct23-Feb-06 4:18 
QuestionCalling va_start Multiple Times... Pin
James R. Twine23-Feb-06 3:12
James R. Twine23-Feb-06 3:12 
   For debugging purposes, I am going to be basically hijacking a function that handles a variable argument list.  This function convers the Variable Argument List (VAL) into a va_list variable and passes it to another function to process the variable argument list (like how one would make a call to _vsntprintf).

   I can descern the number and types of arguments from other parameters passed to the function, so I want to be able to trace information on the parameters passed.  My question is this - it is safe (not possible, but safe) to call va_start multiple times on the same va_list variable (in the same function) to reset the VAL?

   I cannot find code that does this, nor information that details the safety of doing so.

   Thoughts?

   Thanks!

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
AnswerRe: Calling va_start Multiple Times... Pin
peterchen23-Feb-06 5:06
peterchen23-Feb-06 5:06 
GeneralRe: Calling va_start Multiple Times... Pin
James R. Twine23-Feb-06 5:20
James R. Twine23-Feb-06 5:20 
GeneralRe: Calling va_start Multiple Times... Pin
peterchen23-Feb-06 6:24
peterchen23-Feb-06 6:24 
AnswerRe: Calling va_start Multiple Times... Pin
Joe Woodbury23-Feb-06 9:08
professionalJoe Woodbury23-Feb-06 9:08 
AnswerRe: Calling va_start Multiple Times... Pin
Ryan Binns23-Feb-06 14:58
Ryan Binns23-Feb-06 14:58 
Questioncompiler setting Pin
vaibhav shinde23-Feb-06 2:56
vaibhav shinde23-Feb-06 2:56 
AnswerRe: compiler setting Pin
vaibhav shinde23-Feb-06 2:58
vaibhav shinde23-Feb-06 2:58 
QuestionWriting a browser plugin Pin
ice_and_fire23-Feb-06 2:55
ice_and_fire23-Feb-06 2:55 
AnswerRe: Writing a browser plugin Pin
David Crow23-Feb-06 2:56
David Crow23-Feb-06 2:56 
QuestionCalling a function Pin
srija23-Feb-06 2:22
srija23-Feb-06 2:22 
AnswerRe: Calling a function Pin
toxcct23-Feb-06 2:27
toxcct23-Feb-06 2:27 
QuestionRe: Calling a function Pin
David Crow23-Feb-06 2:55
David Crow23-Feb-06 2:55 
QuestionError In Building simple ATL application Pin
maharaja pandian23-Feb-06 1:46
maharaja pandian23-Feb-06 1:46 
QuestionHow to Execute a process before win logon??? Pin
Mohiul Alam Chowdhury Rony23-Feb-06 1:37
Mohiul Alam Chowdhury Rony23-Feb-06 1:37 
AnswerRe: How to Execute a process before win logon??? Pin
James R. Twine23-Feb-06 2:42
James R. Twine23-Feb-06 2:42 
AnswerRe: How to Execute a process before win logon??? Pin
Roger Stoltz23-Feb-06 2:51
Roger Stoltz23-Feb-06 2:51 
QuestionRe: How to Execute a process before win logon??? Pin
Mohiul Alam Chowdhury Rony23-Feb-06 16:53
Mohiul Alam Chowdhury Rony23-Feb-06 16:53 

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.