Still no luck on command line parse [Bug 417]

lawson_whitney at juno.com lawson_whitney at juno.com
Mon Feb 4 22:10:58 CST 2002


On Tue, 5 Feb 2002, Carol Farlow Lerche wrote:

> As suggested, I checked that I was getting wine of the right vintage,
> and as you see below, I indeed seem to have the version designated by
> the codeweavers rpm name I downloaded
> (codeweavers-wine-20011108-5.i386.rpm):
>
>     [cafl at emma cafl]$ which wine
>     /usr/bin/wine
>     [cafl at emma cafl]$ /usr/bin/wine --version
>     Wine release 20011108
>     Wine exited with a successful status
>     [cafl at emma cafl]$
>
What answers the name wine in codeweavers wine is the shell script I
know as winelauncher.  You might try running the wine binary barefoot
and see if that makes a difference.  Not sure where codeweavers puts it,
but it is probably named wine.bin, so
find / -type f -name 'wine.bin'

should find it, but it may take a while.

> I also took Lawson's advice and tried

I also advised you to get a current Wine.  :-)

wine --version
Wine release 20020122
>
>      wine --debugmsg +relay \
>        'C:\Program Files\intuit\qbtimer\qbtimer.exe' \
>         2>&1 |tee ~/logfile
>
> The complete log is quite large, even when gzipped.  What is the
> protocol for how to send it?  I'm sure the list recipients don't want
> to see it all.  I'll try providing the bit preceding and up to the
> first appearance of the erroneous file name, which shows up in the
> message box of qbtimer as a timer data file file that can't be found
> ("Files\\intuit\\qbtimer\\qbtimer.exe\"):

Sorry, that is not enough context.  There is an awful lot of wasted
motion in the windose API.  From that snippet, the app pulled the broken
filename out of thin air and started worrying at it.  Hang on!  There is
an extra escaped quote (\") at the end of that.

Dumb question:  Does this app work in windose with a similar
directory/file structure?

Tell you what.  If you will get the current wine and still have the same
problem, you may send me up tp 500k of gzipped relay trace (I doubt the
list wants that much).

Or put the attached cmdl.exe in 'C:\Program Files\intuit\qbtimer\' and
run it, and show us the output.  That might be easier and more
productive.  This is the source:

#include <stdio.h>
#include <win.h>
main(int argc, char **argv)
{
    int i;
    printf("/%s/\n",GetCommandLine());
    for (i = 0; i < argc; i++)
        printf("arg %d: /%s/\n", i, argv[i]);
}

I compiled it with lcc-win and Wine.

Lawson
---oof---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdl.exe
Type: application/octet-stream
Size: 6444 bytes
Desc: 
Url : http://www.winehq.org/pipermail/wine-users/attachments/20020204/229057ba/cmdl.obj


More information about the wine-users mailing list