• Advertisement

Basetsd.h and Visual Studio 2K5

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

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

Share on other sites
Yeah, turned out some legacy defines were causing some conflicts or something.
Matt Hughson

Share this post

Share on other sites

• Advertisement
• Advertisement
• Popular Tags

• Advertisement
• Popular Now

• 10
• 14
• 11
• 10
• 11
• Advertisement