[Wine] Re: Wine unhandled exception running PocketFMS
Duane Clark
junkmail at junkmail.com
Mon Mar 19 00:52:40 CDT 2007
Rob Turk wrote:
> ...
> The developer for PocketFMS changed the reference to this code so it gets
> called in 16-color mode and now it continues past this point. The next
> hurdle is a problem with file creation, which fails on the following:
> 0009:Call kernel32.CreateFileA(00b29480 "c:\\Program
> Files\\PocketFMS\\\\bdryhV6.gpsdat",80000000,00000003,0033ec30,00000003,00000080,00000000)
> ret=0055679a
> 0009:Ret kernel32.CreateFileA() retval=ffffffff ret=0055679a
>
> Looks like the double backslash between the path and the filename make Wine
> barf. I thnk it's OK to do this in XP though, at least that's what I recall
> from previous projects.
Want to do some coding (you appear to have at least some experience)?
The first step would be to add a test case to the Wine source code, to
the file dlls/kernel32/tests/file.c. There is a function
test_CreateFileA(), and adding a test for that case should be fairly easy.
http://www.winehq.org/site/docs/winedev-guide/testing
Then of course, maybe take a shot at fixing the bug. I doubt that would
be very difficult either.
More information about the wine-users
mailing list