Discussion Locked

directx 8.1 SDK prerelease

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
My system includes Windows98, VC++6.0, DirectX8.1 SDK.
Trying to compile samples or project built with Application Wizard I get the next error messages:
c:\program files\microsoft sdk\include\prerelease\d3dx8math.h(262) : error C2065:
'ULONG_PTR' : undeclared identifier
and
c:\program files\microsoft sdk\include\prerelease\dsound.h : error : 'DWORD_PTR' :
undeclared identifier
.
c:\program files\microsoft sdk\include has no .h files. Only ...include\prerelease\ has.
The same about lib subdir.
In VC++6.0 directories pathes set like c:\program files\microsoft sdk\include\prerelease
and c:\program files\microsoft sdk\lib\prerelease at the tops.
I tryed another release of SDK8.1 on another PC, which has .h and .lib filesin ..\include and
...\lib subdirs, apart from prerelease subdirs, but I got the same error messages.
Please, let me know how I can get DirectX8.1 SDK installed properly.
Thanks,
Alexy

5 replies

by icestatue

I've only been programming in DirectX for a very short time. With very little resources and Info so matbe you havealready tried something like this. I've had scenerios like the one you described. In my case I was linking to dsound.h and .lib and for what ever reason the WAVEFORMATEX structure was not defined in the head. Despite this problem I have figured out a way find missing info when this occures. Luckly for me the WAVEFORMATEX was located in mmsystem.h for some reason. I found this only after thinking that maybe other files were assumed to be put in as well. Try to open EVERY header file you can and do a "Find in Files" with some luck maybe you will find were the missing #define has been placed. Like I said I only have done this for a short time but it gets me out of troubles!

by raychenal

Thanks for your answer!
Although following this tactic did not give me positive result because called next unresolved links. I just installed newer version of directX which solved the problem.

This discussion is closed to new replies.