Direct3D 9

You are new to ReactOS? Drop it in here.

Moderator: Moderator Team

Direct3D 9

Postby iPick12 » Sun May 27, 2012 5:29 pm

Hi everyone.
I'm porting a Direct3D 9 C++ application to ReactOS. I'd like to know how I can use d3dx9.h components cause when I include the file I get an error about undefined max variable. Here it is:
Code: Select all
Undefined variable 'max'

My C++ code is this:
Code: Select all
#include <windows.h>
#include <windowsx.h>
#include <d3d9.h>
#include <d3dx9.h>

I have included the Direct3D 9 lib at CMakeLists.txt but there is no d3dx9 library
Does anyone know the answer to this problem?
Programming is the only thing that everyone can bother with.
It doesn't require anything but a computer with an Internet connection.
iPick12
 
Posts: 15
Joined: Mon May 07, 2012 6:16 pm

Re: Direct3D 9

Postby milon » Mon May 28, 2012 2:41 am

I don't know much about the ROS internals, but I don't think there is a DirectX equivalent in ReactOS. I believe the current approach is a D3D wrapper to OpenGL. Try a forum search and see what pops up for that, or maybe someone with more knowledge will give you a better answer. ;)
milon
 
Posts: 546
Joined: Sat Sep 05, 2009 9:26 pm


Return to Newbie Help

Who is online

Users browsing this forum: No registered users and 2 guests