strange msvcrt crash
gerard patel
gerard.patel at asi.fr
Mon Apr 16 19:20:12 CDT 2001
At 02:47 PM 16/04/2001 -0700, you wrote:
>
> Also I had lost of trouble running mspaint when using the builtin
>msvcrt. None of the following works:
>$ wine /mnt/win98/Program\ Files/Accessories/mspaint.exe
>$ wine "/mnt/win98/Program Files/Accessories/mspaint.exe"
>$ wine "c:/Program Files/Accessories/mspaint.exe"
>$ wine "c:\\Program Files\\Accessories\\mspaint.exe"
>
> They all tell me that 'H:\wine\Files\Accessories\mspaint.exe was not
>found.'. If I use native msvcrt they all work (and wine is the real
>thing, not a script).
Msvcrt includes command line parsing to give apps argc and argv - the
current builtin handling in dlls/msvcrt/data.c is probably the cause of your
problem :
while (1)
{
if ((cmdline[end]==' ') || (cmdline[end]=='\0'))
{
if (cmdline[end]=='\0')
last_arg=1;
else
cmdline[end]='\0';
Gerard
More information about the wine-devel
mailing list