Click here to Skip to main content
15,905,558 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Set password to mdb file Pin
David Crow7-Jun-07 4:05
David Crow7-Jun-07 4:05 
Questioncheck how many variable arguments are passed? Pin
hansipet6-Jun-07 23:47
hansipet6-Jun-07 23:47 
AnswerRe: check how many variable arguments are passed? Pin
BadKarma6-Jun-07 23:49
BadKarma6-Jun-07 23:49 
AnswerRe: check how many variable arguments are passed? Pin
Roger Stoltz7-Jun-07 0:29
Roger Stoltz7-Jun-07 0:29 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 0:58
hansipet7-Jun-07 0:58 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 1:39
mveCPallini7-Jun-07 1:39 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 2:38
hansipet7-Jun-07 2:38 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 2:59
mveCPallini7-Jun-07 2:59 
if optimization is your concern, then avoid to use variable number of arguments (or use a mechanism such as the main one, i.e. an array of arguments and its length passed to your function).

BTW, referring to the MSDN sample (link given by Roger Stoltz) [^], nothing prevents you to use the marker to indicate the total number of arguments: does this fit your needs?

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 3:13
hansipet7-Jun-07 3:13 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 3:24
mveCPallini7-Jun-07 3:24 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 3:43
hansipet7-Jun-07 3:43 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 3:57
mveCPallini7-Jun-07 3:57 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 4:03
hansipet7-Jun-07 4:03 
GeneralRe: check how many variable arguments are passed? Pin
Roger Stoltz7-Jun-07 4:03
Roger Stoltz7-Jun-07 4:03 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 5:46
hansipet7-Jun-07 5:46 
GeneralRe: check how many variable arguments are passed? Pin
Roger Stoltz7-Jun-07 6:42
Roger Stoltz7-Jun-07 6:42 
QuestionHook Procedure not working when window is minimized Pin
Jayapal Chandran6-Jun-07 23:41
Jayapal Chandran6-Jun-07 23:41 
QuestionManaging Bitrate through Programming Pin
Andy Rama6-Jun-07 23:22
Andy Rama6-Jun-07 23:22 
QuestionEarly Morning blues - Array of object pointers Pin
mcsherry6-Jun-07 22:57
mcsherry6-Jun-07 22:57 
QuestionRe: Early Morning blues - Array of object pointers Pin
mcsherry6-Jun-07 23:00
mcsherry6-Jun-07 23:00 
AnswerRe: Early Morning blues - Array of object pointers Pin
Cedric Moonen6-Jun-07 23:08
Cedric Moonen6-Jun-07 23:08 
GeneralRe: Early Morning blues - Array of object pointers Pin
mcsherry6-Jun-07 23:45
mcsherry6-Jun-07 23:45 
GeneralRe: Early Morning blues - Array of object pointers Pin
Cedric Moonen7-Jun-07 0:05
Cedric Moonen7-Jun-07 0:05 
QuestionString Pin
mazeed6-Jun-07 22:53
mazeed6-Jun-07 22:53 
AnswerRe: String Pin
SandipG 7-Jun-07 1:21
SandipG 7-Jun-07 1:21 

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.