2009/12/7 Paul Vriens paul.vriens.wine@gmail.com:
When I add the following (first thing):
BOOL is_wow64;
IsWow64Process( GetCurrentProcess(), &is_wow64 );
the tests crashes at DXGID3D10CreateDevice() in create_device().
I added that IsWow64Process() just to see if I was indeed running the 64bit version of the test.
Any idea what's going on?
It's a bit hard to say without debug information like a backtrace and register information, but maybe the prototype for DXGID3D10CreateDevice() is wrong and the stack gets corrupted. An easy thing to try would be changing the type of "arg5" from DWORD to a pointer. I'd expect similar problems with D3D10CoreCreateDevice().