When i'm trying to compile a program in C++ I keep getting an error:
at the line
#include "dxfile.h" // defines LPDIRECTXFILEDATA
and the debugger says:
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Documents and Settings\Haxxor\Desktop\D3Dintro\D3DIntro.cpp" -o "C:\Documents and Settings\Haxxor\Desktop\D3Dintro\D3DIntro.exe" -g3 -I"D:\Dev-Cpp\include\c++" -I"D:\Dev-Cpp\include\c++\mingw32" -I"D:\Dev-Cpp\include\c++\backward" -I"D:\Dev-Cpp\include" -I"C:\DX90SDK\Include" -I"C:\DX90SDK\Samples\C++\Common" -I"C:\DX90SDK\Include\DShowIDL" -I"D:\Dev-Cpp\include" -L"D:\Dev-Cpp\lib" -L"C:\DX90SDK\Lib"
In file included from C:/DX90SDK/Include/d3dx9mesh.h:15,
from C:/DX90SDK/Include/d3dx9.h:47,
from C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:32:
C:/DX90SDK/Include/dxfile.h:240: stray '\32' in program
In file included from C:/DX90SDK/Include/d3dx9mesh.h:15,
from C:/DX90SDK/Include/d3dx9.h:47,
from C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:32:
C:/DX90SDK/Include/dxfile.h:240:2: warning: no newline at end of file
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp: In function
`int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:141: warning: passing
NULL used for non-pointer argument passing 1 of `HWND__*
CreateWindowExA(long unsigned int, const CHAR*, const CHAR*, long unsigned
int, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)'
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:141: warning: argument
to non-pointer type `long unsigned int' from NULL
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:163: warning: passing
NULL used for non-pointer argument passing 3 of `BOOL PeekMessageA(tagMSG*,
HWND__*, unsigned int, unsigned int, unsigned int)'
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:163: warning: argument
to non-pointer type `unsigned int' from NULL
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:163: warning: passing
NULL used for non-pointer argument passing 4 of `BOOL PeekMessageA(tagMSG*,
HWND__*, unsigned int, unsigned int, unsigned int)'
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:163: warning: argument
to non-pointer type `unsigned int' from NULL
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:185: invalid
conversion from `void*' to `HINSTANCE__*'
C:/Documents and Settings/Haxxor/Desktop/D3Dintro/D3DIntro.cpp:371:35: warning: no newline at end of file
Execution terminated
Do you have any idea?