dxgi:device tests crash on X64_64

Paul Vriens paul.vriens.wine at gmail.com
Mon Dec 7 06:34:13 CST 2009

On 12/07/2009 12:14 PM, Henri Verbeet wrote:
> 2009/12/7 Paul Vriens<paul.vriens.wine at 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().

The attached does the trick. Is that what you meant?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20091207/1fd59854/attachment.txt>

More information about the wine-devel mailing list