Re: _stprintf
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 09 Aug 2006 00:00:28 -0400
That's 'deprecated', not 'decremented'. If you include strsafe.h it redefines all the
obsolete and unsafe methods to issue error messages.
joe
On Sat, 29 Jul 2006 19:04:01 -0700, Sonu <sonu@xxxxxxxxxxxxx> wrote:
Thanks guys,Joseph M. Newcomer [MVP]
I must be spacing out (as I seem to have been doing that often these days)
when I was using that %a instead of %c.
Definitely want to move to CString.... Though I'll have sit down and go
through my whole project and replave all this char stuff...
It's also giving the decremented error everywhere all over in VC2005, so now
I have a good excuse to use CString everywhere!
Thanks a bunch as ususal...
"David Webber" wrote:
"Vipin" <Vipin@xxxxxxxxxx> wrote in message
news:uxxt2Y1sGHA.4080@xxxxxxxxxxxxxxxxxxxxxxx
Good thing to use is this:-
CString str;
str.Format(_T("%c") , 'a' + j);
Better is
str.Format(_T("%c") , _T('a') + j );
Dave
--
David Webber
Author MOZART the music processor for Windows -
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Re: _stprintf
- From: Heinz Ozwirk
- Re: _stprintf
- From: Vipin
- Re: _stprintf
- From: David Webber
- Re: _stprintf
- Prev by Date: Re: _stprintf
- Next by Date: show/hide child splitter window
- Previous by thread: Re: _stprintf
- Next by thread: Re: _stprintf
- Index(es):