Still no luck on command line parse [Bug 417]

lawson_whitney at juno.com lawson_whitney at juno.com
Fri Feb 8 19:52:59 CST 2002


On Fri, 8 Feb 2002, Sylvain Petreolle wrote:

> [syl at snoop c]$ cd Program\ Files/intuit/qbtimer/
> [syl at snoop qbtimer]$ ls
> cmdl.exe
> [syl at snoop qbtimer]$ wine --version
> Wine release 20020122
> [syl at snoop qbtimer]$ wine --dll crtdll=b cmdl.exe
> "Huh? What do you
> >
> >
> [syl at snoop qbtimer]$ wine --dll crtdll=b cmdl.exe
> "Huh? What do you mean ?"
> err:module:PE_fixup_imports Module (file) CRTDLL.DLL
> (which is needed by C:\Program
> Files\intuit\qbtimer\cmdl.exe) not found
> [syl at snoop qbtimer]$ cp
> /mnt/hda/windows/system/crtdll.dll .
> [syl at snoop qbtimer]$ wine cmdl.exe "Huh? What do you
> mean ?"
> /cmdl.exe "Huh? What do you mean ?"/
> arg 0: /cmdl.exe/
> arg 1: /Huh? What do you mean ?/
> [syl at snoop qbtimer]$
>
Ohhh, that:

[whit at giftie whit]$ cd /gp/windose/windows/system
[whit at giftie system]$ mv msvcrt.dll away
[whit at giftie whit]$ cd /gp/windose/windows/system
[whit at giftie system]$ mv msvcrt.dll away
[whit at giftie system]$ wine --dll crtdll=b --dll msvcrt=n cmdl.exe "Oops"
err:module:PE_fixup_imports Module (file) msvcrt.dll (which is needed by crtdll.
dll) not found
err:module:load_library can't load crtdll.dll
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll crtdll.dll still not foun
d
err:module:PE_fixup_imports Module (file) CRTDLL.DLL   (which is needed by C:\Pr
ogram Files\cmdl.exe) not found

[whit at giftie system]$ wine --dll crtdll=b cmdl.exe "Oops!"
wine --dll crtdll=b cmdl.exe "Oops"
fixme:msvcrt:MSVCRT_setvbuf (0x4034954c,(nil),4,8192)stub
fixme:msvcrt:MSVCRT_setvbuf (0x40349574,(nil),4,8192)stub
fixme:msvcrt:MSVCRT_signal (11 0x4013cc):stub
/cmdl.exe Oops/
arg 0: /cmdl.exe/
arg 1: /Oops/

Builtin crtdll forwards everything to msvcrt.dll, so if you force wine
to use the native one of those but you don't have one, it can't load the
builtin crtdll.  Native crtdll doesn't forward to msvcrt, so wine can
load it.  If you use builtin for both, you get some fixmes's but it is
plenty good enough for that simple little program.

Lawson
---oof---





More information about the wine-users mailing list