Re: error C2661: 'CStdStr<CT>::Format' : no overloaded function takes 19 argumentswith[CT=char]
- From: Norbert Unterberg <nunterberg@xxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Mar 2007 21:37:29 +0100
shilpa schrieb:
I am getting following error,
error C2661: 'CStdStr<CT>::Format' : no overloaded function takes 19
arguments with[CT=char]
If you have the solution please provide it.
CStdString uses a typesafe template version of Format by default. But this template version only overloads Format functions with a max of 17 argumens, but you need 19.
Either split your format call into two calls, or undefine SS_SAFE_FORMAT in stdstring.h. This will revert the StdString::Format to a version using "...", supporting any number of arguments.
Norbert
.
- References:
- Prev by Date: Re: SetSockOpt with SO_REUSEADDR parameter
- Next by Date: Re: Why some French symbols are not displayed corrctly in CComboBo
- Previous by thread: Re: error C2661: 'CStdStr<CT>::Format' : no overloaded function takes 19 argumentswith[CT=char]
- Next by thread: Re: Messages when mouse is dragged beyond the window?
- Index(es):