Hi,
I've problems to start cmd.exe in gui mode. I get a very large (height) console window where the previous background is visible. The debug print shows this:
... (objects/bitmaps.c:454) got bad width 560 or height 421075580, please look for reason ...
- Hartmut
Hi, --- Hartmut Birr hartmut.birr@gmx.de wrote:
I've problems to start cmd.exe in gui mode. I get a very large (height) console window where the previous background is visible. The debug print shows this:
(objects/bitmaps.c:454) got bad width 560 or height 421075580, please look for reason
Me too...
(objects/bitmaps.c:454) got bad width 560 or height 421075580, please look for r eason (objects/gdiobj.c:788) Attempted to lock foreign handle: 0x50143, Owner: 0x4 loc ked: 0x0 Caller: 0x8, stockobj: 0x0 (objects/gdiobj.c:790) -> called from objects/dc.c:1509 (ke/catch.c:146) Unhandled UserMode exception, terminating thread
Thanks Steven
__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
Hartmut Birr wrote:
Hi,
I've problems to start cmd.exe in gui mode. I get a very large (height) console window where the previous background is visible. The debug print shows this:
... (objects/bitmaps.c:454) got bad width 560 or height 421075580, please look for reason ...
Revert the last revison of subsys/system/win32k/objects/text.c.
- Filip
From: Filip Navara
Hartmut Birr wrote:
Hi,
I've problems to start cmd.exe in gui mode. I get a very large (height) console window where the previous background is
visible. The
debug print shows this:
... (objects/bitmaps.c:454) got bad width 560 or height
421075580, please
look for reason ...
Revert the last revison of subsys/system/win32k/objects/text.c.
I rolled back my change to text.c in CVS since it seems to be the cause of this. Not that I understand it, console windows still worked correct for me. Staring at the code didn't help either.
Gé van Geldorp.
Hi,
it seems that GetTextMetricsW doesn't work correctly. The value tmExternalLeading (guiconsole.c line 114) is set to 0xcdcdcdcd.
- Hartmut
Hartmut Birr wrote:
it seems that GetTextMetricsW doesn't work correctly. The value tmExternalLeading (guiconsole.c line 114) is set to 0xcdcdcdcd.
Clearly indicating it's only allocated, never initialized or assigned.
May I once again take the opportunity to pitch in "assert is your friend"? :-)
/Mike