Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#115 closed Enhancement (fixed)

Compile fixes for Windows SDK

Reported by: AlbertStrasheim Owned by: romw
Priority: Trivial Milestone: Undetermined
Component: Client - Build Version:
Keywords: patch Cc: Didactylos

Description

Windows SDK is the new version of the Platform SDK that includes support for Windows Vista. See this page for details:

http://en.wikipedia.org/wiki/Platform_SDK

The first change from LPSTR to PCSTR fixes this error:

1>boinc\lib\stackwalker_win.cpp(636) : error C2664: 'BOOL (HANDLE,PSYM_ENUMMODULES_CALLBACK64,PVOID)' : cannot convert parameter 2 from 'overloaded-function' to 'PSYM_ENUMMODULES_CALLBACK64'
1>        None of the functions with this name in scope match the target type

It might be that !SymEnumerateModulesProc64 has been changed slightly in Windows SDK (PSYM_ENUMMODULES_CALLBACK64 defines a pointer to this function).

Secondly, it seems glaux.h and glaux.lib have been removed from the SDK. I check for this by seeing if the define for Windows Vista is defined (this define didn't exist in the Platform SDK for Windows Server 2003 SP1). Unfortunately, this change means that the VS project files also need to change.

I don't know if this patch should be applied, but I figured the issues should be noted somewhere for people who are trying to compile with Windows SDK.

Attachments (1)

windowssdk.patch (922 bytes) - added by AlbertStrasheim 18 years ago.

Download all attachments as: .zip

Change History (7)

Changed 18 years ago by AlbertStrasheim

Attachment: windowssdk.patch added

comment:1 Changed 18 years ago by KSMarksPsych

Component: UndeterminedClient - Build
Owner: set to romw

comment:2 Changed 18 years ago by romw

Owner: changed from romw to AlbertStrasheim

Albert, Unfortunately this patch breaks compiling with VS 2005. Could you provide a patch that is compatible with both environments?

comment:3 Changed 17 years ago by Nicolas

Keywords: patch added

comment:4 Changed 17 years ago by Didactylos

Cc: Didactylos added

comment:5 Changed 17 years ago by davea

Owner: changed from AlbertStrasheim to romw

comment:6 Changed 16 years ago by romw

Resolution: fixed
Status: newclosed

Should be fixed now

Note: See TracTickets for help on using tickets.