Original Post
Hi :) Need a bit of help on a DirectX Program in C++: I have compiled the CPP file and all compiles fine (0 errors, 0 warnings). But, when I compile the EXE I get the following 3 error messages: d3dapp.cpp c:\directx\coding\common code\d3dapp.cpp(1225) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int ,unsigned int,long)' None of the functions with this name in scope match the target type d3dfile.cpp c:\directx\coding\common code\d3dfile.cpp(203) : error C2660: 'D3DXComputeNormals' : function does not take 1 parameters c:\directx\coding\common code\d3dfile.cpp(205) : error C2660: 'D3DXComputeNormals' : function does not take 1 parameters Error executing cl.exe. Any ideas on what might be causing the above errors and how I can resolve them?? Thanks!! Mark.