Re: Using strsafe.h and va_list
From: Nikolaos D. Bougalis (nikb_at_webmaster.com)
Date: 05/26/04
- Next message: Nikolaos D. Bougalis: "Re: Using strsafe.h and va_list"
- Previous message: Robert: "Losing main form content when switching screens"
- In reply to: newscorrespondent_at_charter.net: "Re: Using strsafe.h and va_list"
- Next in thread: Tim: "Re: Using strsafe.h and va_list"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 19:57:13 -0700
newscorrespondent@charter.net wrote:
> Does this mean there is no way to do this without first putting these in
> some type of function? I don't understand why this kind of effort
> contributes to security?
>
> Tom G.
Sure there is -- just not with the function you used. Try
StringCchPrintf. From the MSDN docs:
HRESULT StringCchPrintf(
LPTSTR pszDest,
size_t cchDest,
LPCTSTR pszFormat,
...
);
-n
- Next message: Nikolaos D. Bougalis: "Re: Using strsafe.h and va_list"
- Previous message: Robert: "Losing main form content when switching screens"
- In reply to: newscorrespondent_at_charter.net: "Re: Using strsafe.h and va_list"
- Next in thread: Tim: "Re: Using strsafe.h and va_list"
- Messages sorted by: [ date ] [ thread ]