Click here to Skip to main content
15,907,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: insert for STL Pin
toxcct13-Mar-07 8:21
toxcct13-Mar-07 8:21 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:27
prithaa13-Mar-07 8:27 
GeneralRe: insert for STL Pin
Maximilien13-Mar-07 8:32
Maximilien13-Mar-07 8:32 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:49
prithaa13-Mar-07 8:49 
QuestionCCheckListBox and static linking Pin
Magonnew13-Mar-07 3:36
Magonnew13-Mar-07 3:36 
AnswerRe: CCheckListBox and static linking Pin
David Crow13-Mar-07 6:03
David Crow13-Mar-07 6:03 
GeneralRe: CCheckListBox and static linking Pin
Magonnew13-Mar-07 20:48
Magonnew13-Mar-07 20:48 
QuestionHow to use AppendFormatV using win32 but not MFC Pin
Mushtaque Nizamani13-Mar-07 2:45
Mushtaque Nizamani13-Mar-07 2:45 
I have got the following function, that formats the string with dynamic params, but here i am using MFC CString class and its method AppendFormatV


void FormatStringWithDynamicParams(LPCTSTR lpszFormat, ...)<br />
{<br />
	<br />
	va_list args;<br />
	va_start(args, lpszFormat);<br />
	<br />
	CString strMsg;<br />
	strMsg.AppendFormatV(lpszFormat, args);<br />
}<br />
<br />
//Here are some example of calling this function<br />
CString strTest="Test";<br />
DWORD dwTest=233;<br />
FormatStringWithDynamicParams("Here is one dynamic param :%s ",strTest);<br />
FormatStringWithDynamicParams("Here are 2 dynamic params:%s:%d ",strTest,dwTest);


Here it is working for both of the function calls, but i want above feature, without using MFC, i.e not using CString class, can any one help me in that.

Warm Regards,
Mushq
QuestionRe: How to use AppendFormatV using win32 but not MFC Pin
David Crow13-Mar-07 2:48
David Crow13-Mar-07 2:48 
AnswerRe: How to use AppendFormatV using win32 but not MFC Pin
James R. Twine13-Mar-07 2:51
James R. Twine13-Mar-07 2:51 
QuestionWindows Vista Pin
San246813-Mar-07 2:41
San246813-Mar-07 2:41 
AnswerRe: Windows Vista Pin
David Crow13-Mar-07 2:45
David Crow13-Mar-07 2:45 
GeneralRe: Windows Vista Pin
San246813-Mar-07 2:57
San246813-Mar-07 2:57 
QuestionRe: Windows Vista Pin
David Crow13-Mar-07 3:05
David Crow13-Mar-07 3:05 
GeneralRe: Windows Vista Pin
Maximilien13-Mar-07 3:19
Maximilien13-Mar-07 3:19 
AnswerRe: Windows Vista Pin
Maximilien13-Mar-07 3:03
Maximilien13-Mar-07 3:03 
AnswerRe: Windows Vista Pin
toxcct13-Mar-07 3:16
toxcct13-Mar-07 3:16 
QuestionHeap Error Pin
baerten13-Mar-07 2:37
baerten13-Mar-07 2:37 
AnswerRe: Heap Error Pin
James R. Twine13-Mar-07 2:50
James R. Twine13-Mar-07 2:50 
GeneralRe: Heap Error Pin
baerten13-Mar-07 3:09
baerten13-Mar-07 3:09 
GeneralRe: Heap Error Pin
James R. Twine13-Mar-07 3:16
James R. Twine13-Mar-07 3:16 
GeneralRe: Heap Error Pin
baerten13-Mar-07 4:00
baerten13-Mar-07 4:00 
QuestionRe: Heap Error Pin
prasad_som13-Mar-07 4:08
prasad_som13-Mar-07 4:08 
AnswerRe: Heap Error Pin
baerten13-Mar-07 4:42
baerten13-Mar-07 4:42 
GeneralRe: Heap Error Pin
James R. Twine13-Mar-07 5:03
James R. Twine13-Mar-07 5:03 

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.