VC++ 2k5 Express and Platform SDK (2003)

Started by
5 comments, last by evolutional 14 years, 11 months ago
hello all, i havent been online since december (at least on this site) and its good to be back. I changed my IDE from VS2K5 Pro to VC++ Express (i am low on computer space and had to uninstall that if your wondering why i would do something so crazy..) The error im getting is this: h:\ms psk 2003\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' h:\ms psk 2003\include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int h:\ms psk 2003\include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer' h:\ms psk 2003\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int h:\ms psk 2003\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int as you can see, i have the SDK on a flash drive ( i am really pressed for space ). Before i installed the platform sdk (again) i was using the include's that came with VC++ express. I was under the impression if i am linked to the platform SDK's include, lib, and bin folders that this would work, but instead i am just getting the same error from include's on the PSDK.

/**************************************************
Core_Global.h
GameCore Component


Programming Role-Playing Games with DirectX, 2nd Edition
by Jim Adams (Jan 2004)
**************************************************/

#ifndef _CORE_GLOBAL_H_
#define _CORE_GLOBAL_H_

#define DIRECTINPUT_VERSION 0x0800

// Windows includes
#include <windows.h>

// Standard ANSI-C includes
#include <stdio.h>

// DirectX includes
#include "d3d9.h"
#include "d3dx9.h"
#include "dmusici.h"
#include "dsound.h"
#include "dplay8.h"
#include "dpaddr.h"
#include "dinput.h"
#include "dshow.h"

// Core includes
#include "Core_System.h"
#include "Core_Graphics.h"
#include "Core_Input.h"
#include "Core_Sound.h"
#include "Core_Network.h"

#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#endif

if anyone out there is like me and has to see code :) i get the same errors listed above for every file that uses this file.
Advertisement
o FYI, i have in fact read several forum post that address this issue.

I have it linked to includes, bin's, and lib's.

maybe there is something i have to do with the Windows XP 32-bit Build Environment? i remember having to run that last time. and if this is the obvious case, i have been looking for something online on how to use it but no dice. it says "targeting VS installation" or something like that. then brings me to

[ PSDK directory] > _

the underscore represents the blinking cursor.
Surely it couldn't be because you are trying to compile off of a flash drive? In the age where space is not the issue anymore, what makes it an issue for you? 40gb IDE drives are a dime a dozen nowadays.

Honestly, I have no idea why you are having trouble linking these files, other then fact that .NET is having to span storage medias just to get to where it needs to go, which is more work than I think the program was really designed to do. Consider you are losing information transferring from a flash drive to your compiler?

EDIT: BTW, I just reread my post, I'm not trying to mock your issue in any way, perhaps it's because it's really late and I'm tired and can't create a cohesive sentence that doesn't sound a bit off base. So if the above offends you in any way, I'm not trying to, just trying to puzzle your problem with you.
im installing the SDK on a flash drive because my comp's space has all been taken up by WoW.

so putting wow on the flash (till i can move WoW to a diff comp) and putting the SDK on the hard disk, should fix it.

okay. i will try this and post back.
oh hey also... since i am freeing up about 15g on my hardrive,

i am going to probably reinstal VS 2005 Pro

Should i just download platform SDK 2008 instead of 3?

i am planning on just using DX 9 with C++, as most of my books cover that.
Honestly you should update to VS2008. The compiler in 2005 is outdated.

And WoW is a plague, but only a 10 gig plague. Dump some porn or something for crying out loud.
Microsoft have deprecated the VS2005 Express edition. I'd suggest upgrading to the 2008 edition and installing the 2008 PDK.

This topic is closed to new replies.

Advertisement