Sign in to follow this  
willthrom

PSDK with GCC

Recommended Posts

willthrom    122
Hi, I try to compile a app using Windows Plataform SDK 2003 with GCC compiler. When compile with VC++ 6.0 I don´t get any error. Errors_ "C:\Archivos de programa\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h:666: #error Must define a target architecture." If I define "_M_IX86": "C:\Archivos de programa\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h:588: error: expected `(' before '{' token" in code: __inline ULONGLONG NTAPI Int64ShllMod32 ( ULONGLONG Value, DWORD ShiftCount ) { __asm { mov ecx, ShiftCount mov eax, dword ptr [Value] mov edx, dword ptr [Value+4] shld edx, eax, cl shl eax, cl } } at wint.h Any idea or tips to compile PSDK using GCC? Thank you. PD: mingw32-g++.exe compiler :)

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