Direct3DCreate9 crashes

I'm developing a console application that loads a DLL file that uses Direct3D. Everything works fine in some systems, but in other my DLL crashes in the Direct3DCreate9 call:

m_d3d9 = Direct3DCreate9( D3D_SDK_VERSION );

Does anybody knows what might be happening? Or has anybody seen this issue before?

I created an empty Direct3D application (derived from samples/UVAtlas) and it works fine in all systems, my DLL Creates Direct3D using the same code as the UVAtlas.. the only difference is that I'm calling Direct3D from a DLL, and in the samples it's always loaded from the console. Any help would be greatly appreciated. I already tested everything and the crash is beyond my control (inside Direct3DCreate9).

Thank you
Diego


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories