Visual c++ 6 and DX
I have visual c++ 6.0 and Directx SDK 8.1, i have set up the include and lib directories,included the d3d8.h and added the d3d8.lib in the object and libraries modules but my project doesn''t recognize the direct3d objects and devices, what can i do?
did you put d3d8.lib in you project settings, lib tab?
To be considered a genius you just have to say what everybody knows in a way very few understand
To be considered a genius you just have to say what everybody knows in a way very few understand
Check your lib. path;
with CTRL+F7 see the lib section and verify.
If no results please give more details ...
Best regards
JTS
with CTRL+F7 see the lib section and verify.
If no results please give more details ...
Best regards
JTS
If you are referring to the missing auto-completing in visual studio, you have to add the included header files to your project as well.
Open the header file, right click on code and click on "add to project" (may be spelled otherwise, thats a translation from german)
Open the header file, right click on code and click on "add to project" (may be spelled otherwise, thats a translation from german)
You need to have the links to include and lib for dx8 first not after the default search paths for include and lib in vs6.
like so:
mypath/dx8include
vs6path/include
mypath/dx8lib
vs6path/lib
etc...
otherwise it will find dx5 first and that is not what you want.
____________________________________________________________
Try RealityRift at www.planetrift.com
Feel free to comment, object, laugh at or agree to this. I won''t engage in flaming because of what I have said.
I could be wrong or right but the ideas are mine.
like so:
mypath/dx8include
vs6path/include
mypath/dx8lib
vs6path/lib
etc...
otherwise it will find dx5 first and that is not what you want.
____________________________________________________________
Try RealityRift at www.planetrift.com
Feel free to comment, object, laugh at or agree to this. I won''t engage in flaming because of what I have said.
I could be wrong or right but the ideas are mine.
Nothing guys I have installed directx 8.1 SDK at c:\DXSDK
and my setting are:
at directories:
C:\DXSDK\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
at libraries:
C:\DXSDK\LIB
D:\Program Files\Microsoft Visual Studio\VC98\LIB
D:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
at headers at source code
#include <windows.h>
#include <d3d8.h>
and finally i have put the d3d8.lib at object/libary modules but my programm doesn't recognize the directx objects.
[edited by - lone_ranger on February 10, 2003 4:06:03 AM]
and my setting are:
at directories:
C:\DXSDK\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
at libraries:
C:\DXSDK\LIB
D:\Program Files\Microsoft Visual Studio\VC98\LIB
D:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
at headers at source code
#include <windows.h>
#include <d3d8.h>
and finally i have put the d3d8.lib at object/libary modules but my programm doesn't recognize the directx objects.
[edited by - lone_ranger on February 10, 2003 4:06:03 AM]
I had this problem before. Try reinstalling the dx8 sdk. Also, it should pop up a screen asking if you would like it added to vc6. From there you should be able to compile any of the sample code provided.
Trying to do your own stuff from scratch requires you include the right headers, and edit the properties of your workspace to include special objects. Get''s complicated if the code''s not right.
Trying to do your own stuff from scratch requires you include the right headers, and edit the properties of your workspace to include special objects. Get''s complicated if the code''s not right.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement