[Bug 7853] GetSystemDirectory returns wrong directory to 16-bit apps

Wine Bugs wine-bugs at winehq.org
Fri Mar 30 17:40:12 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7853





------- Additional Comments From wine.bug.fr.200703 at edavies.nildram.co.uk  2007-30-03 17:40 -------
I tried modifying the test program (compiled under MSVC 1.52) to write some text
to stdout using "_lwrite(1, ...)" but the output went to somewhere unknown
(i.e., wasn't written anywhere I saw) both when I ran it in in the IDE and from
a command prompt.  I tried redirecting at the command prompt ("windirs > x") but
the resulting "x" file was length zero.  I added a dialog box to display the
return from _lwrite which indicated a correct write (i.e., returned the correct
string length) & it also failed properly (returned -1) which I changed the hFile
from 1 to 21 so the handle at least made some sense.  It's a while since I've
written any Win 3.1 code but it was my impression that Win 3.1 Windows
applications (as opposed to DOS applications) did not really have a stdout.  If
anybody else has any suggestions, please let me know.

Tomorrow I'll do a version of the program to write the results to a file named
on the command line.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list