winemine + minitris on ring3k
Mike McCormack
mikem@hidden
Fri Mar 6 00:42:18 CET 2009
Hi All,
I'm having a go at getting Winemine (Wine's minesweeper clone) working
on ring3k. minitris.exe is not the default winlogon.exe replacement for
the moment... if you want it back, modify the following lines in ring3k.in:
#winlogon_replacement="tools/minitris.exe"
winlogon_replacement="winemine/winemine.exe"
Currently winemine.exe shows a blank screen, but you can quit by
pressing escape. It appears that user32.LoadBitmap isn't working,
probably due to shared memory incompatibilities.
The relevant piece of code is in ring3k/winemine/main.c :
p_board->hMinesBMP = LoadBitmap( p_board->hInst, "mines");
p_board->hFacesBMP = LoadBitmap( p_board->hInst, "faces");
p_board->hLedsBMP = LoadBitmap( p_board->hInst, "leds");
if (!p_board->hMinesBMP)
WINE_TRACE("hMinesBMP NULL\n");
In the log (./ring3k --trace=syscall,gdishm >& x) we see:
4448: NtRaiseException(0027f854,0027f56c,00000001) ret=77f94b9d
OutputDebugString: hMinesBMP NULL
Hopefully I'll be able to solve this issue within the next couple of
days, and there'll be another test application to play with.
thanks,
Mike
More information about the ring3k
mailing list