Jump to content
  • Advertisement
Sign in to follow this  
matthughson

Basetsd.h and Visual Studio 2K5

This topic is 4737 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

Hey All, I recently recieved the beta for Visual Studio 2005, and am having a little trouble porting some of my applications over. I was previously using Visual Studio 6.0 (C++ and DirectX 9.0). I managed to fix most of the problems that came up, but one have really got me stumped. I'm getting these syntax errors:
error C2143: syntax error : missing ';' before '*'
error C2059: syntax error : ','
error C2143: syntax error : missing ';' before '*'
error C2059: syntax error : ','
which point to the windows header file basetsd.h; specifically at this chunch of code:
    typedef _W64 long LONG_PTR, *PLONG_PTR;
// And also
typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR;

Anyone had these problems, or have any suggestions for solutions? Thanks, Matt Hughson

Share this post


Link to post
Share on other sites
Advertisement
The error isn't there. It's in your source file(s) somewhere. It's probably one of those compound errors (errors caused by a previous mistake in the source). If you can't find it, post your code and someone will scrutinize it.

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!