Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Uwe Kotyczka <uwe.kotyczka@xxxxxx>
- Date: Tue, 10 Nov 2009 11:32:10 -0800 (PST)
Hi,
I have been working with VC6.0 for a long time.
Now I have access to Visual Studio 2008 (not at
home), so I tried to compile an old VC6.0 project
with the new IDE.
It worked fine and did not require many changes
in the code. However there were some warnings
that I use depricated functions like fopen,
sprintf, _tcsncpy an I better should use their
save equivalents fopen_s, sprintf_s, _tcsncpy_s.
No problem, the code compiles with those "_s"
functions. Reading the MSDN documentation I find
that fopen_s is availible from Win95 on.
I would like to maintain the project for both
VC6.0 and Visual Studio 2008. But in VC6.0 I cannot
find any header/lib for fopen_s. Not in the
headers which ship with VC6.0SP6 nor in the
February 2003 SDK.
Am I missing something or is it simply not
possible to use functions like fopen_s in VC6.0?
.
- Follow-Ups:
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Geoff
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Joseph M . Newcomer
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Giovanni Dicanio
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Kerem Gümrükcü
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- From: Trevor
- Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- Prev by Date: Re: VC 6 to VC 9 conversion Linker Issue
- Next by Date: Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- Previous by thread: Including a readme.txt IN a dialog
- Next by thread: Re: Migrating VC6.0 -> Visual Studion 2008 - depricated functions
- Index(es):
Relevant Pages
|