Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

markdezonia

Compiler syntax error dinput.h UINT_PTR

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

Compiler errors for dinput.h C:\DEV-C_~1\INCLUDE\Dinput.h:645: syntax error before `;'' C:\DEV-C_~1\INCLUDE\Dinput.h:657: syntax error before `;'' C:\DEV-C_~1\INCLUDE\Dinput.h:1053: syntax error before `;'' C:\DEV-C_~1\INCLUDE\Dinput.h:1199: syntax error before `;'' All Errors have UINT_PTR in them. How do I Fix ? Compiler errors for basetsd C:\DEV-C_~1\INCLUDE\basetsd.h:35: syntax error before `,'' C:\DEV-C_~1\INCLUDE\basetsd.h:39: syntax error before `,'' C:\DEV-C_~1\INCLUDE\basetsd.h:321: syntax error before `,'' C:\DEV-C_~1\INCLUDE\basetsd.h:328: syntax error before `,'' C:\DEV-C_~1\INCLUDE\basetsd.h:329: syntax error before `,'' All Errors have __int64 in them. How do I Fix ? I''m using a DEV-C++ ver.4 Compiler Someone please help me! NO dinput.h no mouse :<

Share this post


Link to post
Share on other sites
Advertisement
These fixes should work:
quote:
Original post by markdezonia
All Errors have UINT_PTR in them.
How do I Fix ?


write:

typedef unsigned long UINT_PTR;

before including dinput.h
quote:

All Errors have __int64 in them.
How do I Fix ?


write:

typedef long long int __int64;

before including the header (looks like you are using a header written specifically for the Microsoft Visual C++ compiler here).

Share this post


Link to post
Share on other sites
THX THX BUT STILL one left
In file included from c:\windows\desktop\marks\Startup.h:14,
from c:\windows\desktop\marks\princes of space.cpp:1:
C:\DEV-C_~1\INCLUDE\Dinput.h:657: syntax error before `;''
ONE LEFT ?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!