Sign in to follow this  
matthughson

Basetsd.h and Visual Studio 2K5

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this