Jump to content
  • Advertisement
Sign in to follow this  

DirectShow header file problems

This topic is 4130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I got the "Microsoft® Windows® Platform SDK Collection for Windows Server 2003 SP1" platform sdk When including dshow.h I get the following compilation warnings. Should I get an updated platform sdk or what ? I'm using VC++ 2005 express edition. thx. ------ Build started: Project: Air Hockey, Configuration: Debug Win32 ------ Compiling... Game.cpp c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : warning C4995: 'gets': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : warning C4995: 'sprintf': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cstdio(40) : warning C4995: 'vsprintf': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cstring(20) : warning C4995: 'strcat': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cstring(21) : warning C4995: 'strcpy': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cwchar(34) : warning C4995: 'swprintf': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cwchar(35) : warning C4995: 'vswprintf': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cwchar(37) : warning C4995: 'wcscat': name was marked as #pragma deprecated c:\program files\microsoft visual studio 8\vc\include\cwchar(39) : warning C4995: 'wcscpy': name was marked as #pragma deprecated

Share this post


Link to post
Share on other sites
Advertisement
I don't think it has anything to do with the downloaded SDK, more with the functions you appear to be using. You're including stuff, cstdio, cstring, etc which are deprecated, which means Microsoft thinks there are better/safer functions you could use.

Since their only warnings and the support for those functions will persist for a while, you haven't got major problems, but you should reconsider why you use old headers.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!