Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it.
g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, D3DPOOL_DEFAULT, &g_pVB, NULL);
These are the error messages. Removing the above line, the program compiles correctly, so it seems something to do with how Dev C++ handles this function.
- 108 C:\Dev-Cpp\DirectX8.cpp expected `)' before ';' token
- 108 C:\Dev-Cpp\DirectX8.cpp expected primary-expression before ',' token
- 108 C:\Dev-Cpp\DirectX8.cpp expected `;' before ')' token
Grateful of any assistance in this
Thanks