Jump to content
  • Advertisement
Sign in to follow this  
AridTag

Cant compile the CustomUI code sample

This topic is 3986 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 have downloaded the Windows SDK as well as the DirectX SDK (November 2007) When trying to compile I get the following errors 1>------ Build started: Project: CustomUI, Configuration: Debug Win32 ------ 1>Compiling... 1>ImeUi.cpp 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(270) : error C2061: syntax error : identifier '__RPC__in' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(275) : error C2061: syntax error : identifier '__RPC__in_opt' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(279) : error C2061: syntax error : identifier '__RPC__out' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(282) : error C2061: syntax error : identifier '__RPC__out' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(288) : error C2061: syntax error : identifier '__RPC__out' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(294) : error C2061: syntax error : identifier '__RPC__out_ecount_part' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(295) : error C2059: syntax error : ')' 1>c:\program files\microsoft sdks\windows\v6.0\include\textstor.h(295) : fatal error C1903: unable to recover from previous error(s); stopping compilation I have tried to fix this issue but I'm seriously at a loss of what to do. Help is really appreciated as I would really like to learn about directx gui coding.

Share this post


Link to post
Share on other sites
Advertisement
Which compiler are you using? Is it definitely configured correctly?

Can you compile other SDK samples - from both the Windows and DirectX SDK's?

Cheers
Jack

Share this post


Link to post
Share on other sites
Unfortunately I havent had a chance to try any other samples, busy with school and I dont have my laptop with me today. But I will try later on tonight.

Compiler is VS2005

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!