http://bugs.winehq.org/show_bug.cgi?id=18794
--- Comment #1 from Yann Droneaud yann@droneaud.fr 2009-06-05 10:16:40 --- Created an attachment (id=21568) --> (http://bugs.winehq.org/attachment.cgi?id=21568) WINEDEBUG=+relay,+d3d,+wgl,+driver wine ./d3did3.exe
Attached a debug trace.
Here is the code of the test program, quite simple, indeed. It seems the fault happen during the call to Direct3DCreate8(), the function never returns.
// Manually load the d3d8.dll library. d3d8dll = LoadLibrary("d3d8.dll"); if(d3d8dll == NULL) { errstr = "Can't load d3d8.dll"; goto failure0; }
// get entry point pDirect3DCreate8 = (LPDIRECT3DCREATE8) GetProcAddress(d3d8dll, "Direct3DCreate8");
if (pDirect3DCreate8 == NULL) { errstr = "Can't find Direct3DCreate8()"; goto failure1; }
pIDirect3D8 = pDirect3DCreate8(D3D_SDK_VERSION); if (pIDirect3D8 == NULL) { errstr = "can't create IDirect3D8 interface"; goto failure1; }
count = IDirect3D8_GetAdapterCount(pIDirect3D8);