GDI syslevel held during psdrv init ... bad

Marcus Meissner marcus at
Tue Apr 24 12:11:58 CDT 2001


While trying to debug something I come across this problem:

Call gdi32.CreateICA(405b59eb "WINEPS",405b59d4 "Wine PostScript Driver",405b59f
2 "LPT1:",00000000) ret=007a6674 tid=08063338
trace:relay:PE_InitDLL CallTo32(entryproc=0x4bef3270,module=4beeb000,type=1,res=
err:psdrv:PSDRV_AFMGetCharMetrics missing ;, failed. [C 0 ; WX 600 ; N null]
fixme:psdrv:PSDRV_FindPrinterInfo 'Wine PostScript Driver'
Call kernel32.MultiByteToWideChar(00000000,00000000,4c057534 "Wine PostScript Dr
iver",ffffffff,00000000,00000000) ret=40953fd4 tid=08063338
err:win32:SYSLEVEL_CheckNotLevel (2): Holding lock of level 3!

Now the reason is, that pCreateDC is always called with the GDI syslevel (3)
held, so _any_ call to relaying here will dump.

How do we fix this?

Ciao, Marcus

More information about the wine-devel mailing list