Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "%1" %* Pin
Roger Allen6-Jul-04 4:32
Roger Allen6-Jul-04 4:32 
GeneralLR_DEFAULTSIZE|LR_LOADFROMFILE in WinCE Pin
Anonymous5-Jul-04 5:20
Anonymous5-Jul-04 5:20 
GeneralProgram Settings Pin
sweep1235-Jul-04 5:13
sweep1235-Jul-04 5:13 
GeneralRe: Program Settings Pin
blah2blah5-Jul-04 5:43
blah2blah5-Jul-04 5:43 
GeneralRe: Program Settings Pin
Jaime Stuardo5-Jul-04 5:51
Jaime Stuardo5-Jul-04 5:51 
GeneralRe: Program Settings Pin
sweep1235-Jul-04 6:05
sweep1235-Jul-04 6:05 
GeneralRe: Program Settings Pin
sweep1235-Jul-04 6:49
sweep1235-Jul-04 6:49 
GeneralMaking multi-parameter function Pin
Gian5-Jul-04 4:42
Gian5-Jul-04 4:42 
hello,
i need to make a function that accept the same parameters of the Format function of CString and create a formatted string with them

so i've declared

void OutputMessage(const char* pMessage, ...);

and

void CNetConnection::OutputMessage(const char* pMessage, ...)
{
CString msg;
va_list argList;
va_start( argList, pMessage );
msg.Format(pMessage, argList);
va_end( argList );

// next use msg string to do things
}


The problem is that the output string has incorrect values in the %s %d etc values.
I've made something wrong?

Thanks
GeneralRe: Making multi-parameter function Pin
Michael Dunn5-Jul-04 5:03
sitebuilderMichael Dunn5-Jul-04 5:03 
GeneralVC 2003 and crystal reports Pin
Irish_GUI5-Jul-04 4:37
Irish_GUI5-Jul-04 4:37 
GeneralRe: VC 2003 and crystal reports Pin
Michael P Butler5-Jul-04 10:13
Michael P Butler5-Jul-04 10:13 
GeneralDisplaying multiple image overlays in MFC tree or list control Pin
Anonymous5-Jul-04 4:02
Anonymous5-Jul-04 4:02 
GeneralStatic control fonts Pin
si_695-Jul-04 3:29
si_695-Jul-04 3:29 
GeneralRe: Static control fonts Pin
Stlan5-Jul-04 3:40
Stlan5-Jul-04 3:40 
GeneralRe: Static control fonts Pin
Jaime Stuardo5-Jul-04 3:43
Jaime Stuardo5-Jul-04 3:43 
GeneralRe: Static control fonts Pin
Roger Allen5-Jul-04 3:44
Roger Allen5-Jul-04 3:44 
GeneralRe: Static control fonts Pin
Michael P Butler5-Jul-04 4:22
Michael P Butler5-Jul-04 4:22 
GeneralAbut media player Pin
Anonymous5-Jul-04 1:21
Anonymous5-Jul-04 1:21 
GeneralTo Find row & column Pin
Pazzuzu5-Jul-04 1:10
Pazzuzu5-Jul-04 1:10 
GeneralRe: To Find row & column Pin
Jaime Stuardo5-Jul-04 3:37
Jaime Stuardo5-Jul-04 3:37 
GeneralRe: To Find row & column Pin
Pazzuzu5-Jul-04 3:43
Pazzuzu5-Jul-04 3:43 
QuestionHow can we parse the exe file Pin
karhea5-Jul-04 0:45
karhea5-Jul-04 0:45 
GeneralVC++ and VB Pin
Neelesh K J Jain5-Jul-04 0:32
Neelesh K J Jain5-Jul-04 0:32 
GeneralRe: VC++ and VB Pin
Maximilien5-Jul-04 0:44
Maximilien5-Jul-04 0:44 
GeneralRe: VC++ and VB Pin
V.5-Jul-04 0:53
professionalV.5-Jul-04 0: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.