Original Post
Hi all,
I''m using DX9, VisualC++6.0 and i''m having problems with the functions: D3DXCreateBox, D3DXCreateTeapot, D3DXCreateCylinder,... When using GetLastErorr() and FormatMessage() it returns NULL for the "LPD3DXMESH *" variable.
BTW:The codes are from the book :"Introduction to 3d Game Programming with DirectX9", chapter3 sample codes.