Oh this is all caused by an old version of the directx SDK.
I regret not noticing this sooner.
EDIT: Now I have this:
game.cpp: In function `int Game_Init(HWND__*)':
game.cpp:35: warning:...
Type: Posts; User: scwizard
Oh this is all caused by an old version of the directx SDK.
I regret not noticing this sooner.
EDIT: Now I have this:
game.cpp: In function `int Game_Init(HWND__*)':
game.cpp:35: warning:...
Hmm that's odd, apparently instead of a line break at the end of the file one of the files had a funny character.
I have no idea how that happened, weird. Well stuff calmed down a bit after I...
I followed the instructions on that site for "the easy way"
In file included from C:/Documents and Settings/Administrator/Desktop/****/dx9sdk/Include/d3dx9mesh.h:15,
from...
By this do you mean that I should install the DirectX SDK into the MinGW folder?
Thanks for the effort, but the reason I'm asking this question is because I'm running into unexpected difficulties.
Could you be a bit more specific? Obviously for example if I just install MinGW...
The images associated with the program.
Background converted from bmp to png due to attachment size limit. Convert back so the program doesn't complain when you run it.
Although these images...
I have the following tools at my disposal:
A fresh windows install
The Windows SDK installer
The MinGW installer
The DirecX9 SDK installer
I'm trying to compile the simple program below. Its...
I'm running windows on a very new laptop. I also sent the program to my brother who ran it with the same result, and a few of my friends all running windows.
So to test out SDL I tried compiling the hello world program here: http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1
Made some changes for diagnostic reasons:
SDL_Surface...
Hey, I know you.
I know that Syphon guy. Don't ban him, he'll stop I promise :P
That's exactly what I'm trying to avoid.
I know there's no such thing as LB_SETTEXT, but what I'm saying is there really should be.
But if there really isn't, how do I go about where in the...
I looked through the listbox controls on MSDN and they don't seem to have some kind of message like this:
SendMessage((HWND)ListBox, LB_SETTEXT, LBindex, (LPARAM)AString);
Easy question: So how...
My appologies for not reading up on createwindow well enough.
Thanks for the anwser.
I create my child windows (listbox, buttons etc.) with:
switch(message) {
case WM_CREATE:
ListBox = CreateWindow();
break;
}
So how do I process their notifications? The examples I've...
FACT: People name variables funny things (until they learn better, which I most certainly haven't)
Thanks it works now.
Not only that, but it lead to change
short * StringPointers; to ...
So this code pops up a message box and the message box says: "4294934642"
That is NOT a short. A short is two bytes with a max of 65535.
The code returns the correct value up until...
This may be asking for a bit much, but could anyone explain to me why static is necessary?
Thanks, it works now :)
When I call SendMessage(hListBox, LB_ADDSTRING, (WPARAM) 0, (LPARAM) "LOL fclose!"); inside of case WM_COMMAND: it doesn't add anything to the listbox.
When I call SendMessage(hListBox,...