May 23, 2004
Hi.

I've been trying to use DirectX 9.0 with DMC. I have downloaded the SDKs from Microsoft, converted the COFFs to older COFFs with "link /lib /convert" and then from COFF to OMF with COFF2OMF.

Using d3d9.lib works perfectly. However, when I try to use functions from
d3dx9.lib, I get lots of errors of type
"Error: [...]\d3dx9.lib(d3dxvec2) : Previous Definition Different :
ProcPrologue"

This simple program (linked with d3dx9.lib) gives 42 link errors:

#include <d3dx9.h>
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR, INT ) {
D3DXMatrixRotationY( 0, 0.0f );
return 0;
}

Has anyone used d3dx9 functions successfully with DMC?

Magnar