http://bugs.winehq.org/show_bug.cgi?id=4268
------- Additional Comments From wine.dev(a)web.de 2006-31-01 15:39 -------
Hi.
I'm searching the Place, where the Printername changed:
Starting with the correct Result of "GetDefaultPrinter"
(without a space) over the incorrect Parameter of "GetPrivateProfileStringW"
(with space) on the code-Path to "OpenPrinterW" (with space).
See "1)" at comment #39.
There was a typo in my last comment (between snoop and relay, i send you a mail
about this).
WINEDEBUG="+winspool+,+profile,+snoop,+relay,+seh,+msvcrt" wine ...
2>large.log
grep -C 1000 'L" ' large.log >not_so_large.log
Nothing must be stripped between "GetDefaultPrinter" (without space) and
"GetPrivateProfileStringW" (with space), so higher numbers might be needed.
I tried the grep on the logs you alredy attached to this Bug and see the
change from "printername" to L" printername".
(First is ANSI without space, second is UNICODE with space).
Windows has string-functions at several places and i hope to see the used
functions and the memory-locations from relay.
And when we have luck, it's msvcrt (that's why i suggested to test also with
native msvcrt to compare the logs).
(If it's done with OLE, then I'm lost...).
Machine is not special, as long as the Space is inserted, but please use a
Default Printer with only simple characters (a-z,A-Z,0-9) first.
--
By by ... Detlef
--
Configure bugmail:
http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.