What do i need to make Direct x 9.0 (that's what i have) work in wxwdevC++ are there any tutorials? I have several direct x tutoirals on my comupter that i want to compile i looked on the resource page fro tutorials but just got dead links
BattlingSteel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Microsoft SDK will not work out of the box with MinGW/GCC, however wxDev-C++ works with Microsoft compilers too, and they are also free, so that may be the path of least resistance.
On the other hand you might prefer to use Microsoft's free tools directly. However if you are using wxDevCpp specifically to get visual GUI design for wxWidgets, stick with it. If you are not too concerned about wxWidgets specifically, Microsoft's tools provide Windows Forms and .NET support.
There is a DirectX9 DevPak available at http://www.g-productions.net/page.php?id=23&a=dl for Dev-C++ (and therefore wxDevCpp also), but it is I suggest legally questionable license-wise. I believe that it incorporates Microsoft code, which while Microsoft provide it as a free download, they do not license it for distribution.
Depending on what you wanted DirectX for, you might consider OpenGL instead, since this is more portable (and therefore in-keeping your your use of wxWidgets which is also cross-platform).
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have both DX9 runtime and sdk I went to the link and downloaded and installed that devpack but there are problems. First let me say i am new to wxdev C++ so sorry if my questions are dumb. When i try to compile a DXsample that comes with the devpack i get this error
hCursor = (HCURSOR)ULongToHandle( GetClassLong( m_hWnd, GCL_HCURSOR ) );
It happens more than one place. What is that? How can i fix it? is there a step by step tut on using DX9
with wxdevc++ ? The hardest part is setting everything up, if i ever get it up and working then i can start to compile
BS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do i need to make Direct x 9.0 (that's what i have) work in wxwdevC++ are there any tutorials? I have several direct x tutoirals on my comupter that i want to compile i looked on the resource page fro tutorials but just got dead links
BattlingSteel
> Direct x 9.0 (that's what i have)
Do you mean have the runtime or the SDK?
The Microsoft SDK will not work out of the box with MinGW/GCC, however wxDev-C++ works with Microsoft compilers too, and they are also free, so that may be the path of least resistance.
On the other hand you might prefer to use Microsoft's free tools directly. However if you are using wxDevCpp specifically to get visual GUI design for wxWidgets, stick with it. If you are not too concerned about wxWidgets specifically, Microsoft's tools provide Windows Forms and .NET support.
There is a DirectX9 DevPak available at http://www.g-productions.net/page.php?id=23&a=dl for Dev-C++ (and therefore wxDevCpp also), but it is I suggest legally questionable license-wise. I believe that it incorporates Microsoft code, which while Microsoft provide it as a free download, they do not license it for distribution.
Depending on what you wanted DirectX for, you might consider OpenGL instead, since this is more portable (and therefore in-keeping your your use of wxWidgets which is also cross-platform).
Clifford
I have both DX9 runtime and sdk I went to the link and downloaded and installed that devpack but there are problems. First let me say i am new to wxdev C++ so sorry if my questions are dumb. When i try to compile a DXsample that comes with the devpack i get this error
hCursor = (HCURSOR)ULongToHandle( GetClassLong( m_hWnd, GCL_HCURSOR ) );
It happens more than one place. What is that? How can i fix it? is there a step by step tut on using DX9
with wxdevc++ ? The hardest part is setting everything up, if i ever get it up and working then i can start to compile
BS
> i get this error
> hCursor = (HCURSOR)ULongToHandle( GetClassLong( m_hWnd, GCL_HCURSOR ) );
That is not an error message, it is a line of code. Post the "Compile Log" (see the "PLEASE READ BEFORE POSTING A QUESTION" thread).
Clifford