On Wed, Aug 18, 2010 at 01:00:35AM +1000, Peter Urbanec wrote: > Hi, > > I'm trying to get a fairly complex Win64 application to work with > wine. I'm seeing crashes in FindNextFileW/FindNextFileA due to what > looks like a 64 bit HANDLE value being truncated to 32 bits. I > thought that I would employ winedbg to help me, but I can't get very > far. I don't have any luck with winedbg even on a simple x64 Win32 > app.
Check if your code uses "int" in its FindNextFile or findfirst things. I fixed ioquake3 for this for instance. The Wine code is correct as-is, but perhaps the Windows win64 code generates only handles with 32bit. Ciao, Marcus