lawson_whitney@juno.com
2002-Feb-04 22:10 UTC
Still no luck on command line parse [Bug 417]
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@emma cafl]$ which wine > /usr/bin/wine > [cafl@emma cafl]$ /usr/bin/wine --version > Wine release 20011108 > Wine exited with a successful status > [cafl@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 triedI 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
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@emma cafl]$ which wine /usr/bin/wine [cafl@emma cafl]$ /usr/bin/wine --version Wine release 20011108 Wine exited with a successful status [cafl@emma cafl]$ I also took Lawson's advice and tried 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\"): 08247d08:Call USER.258: MAPWINDOWPOINTS(0x0027,0x0000,01e7:d8b4,0x0002) ret=03a7:2444 ds=01e7 08247d08:Ret USER.258: MAPWINDOWPOINTS() retval=0x45fa ret=03a7:2444 ds=01e7 08247d08:Call USER.46: GETPARENT(0x0027) ret=03b7:031a ds=01e7 08247d08:Ret USER.46: GETPARENT() retval=0x0000 ret=03b7:031a ds=01e7 08247d08:Call USER.31: ISICONIC(0x0027) ret=03a7:213b ds=01e7 08247d08:Ret USER.31: ISICONIC() retval=0x0000 ret=03a7:213b ds=01e7 08247d08:Call USER.272: ISZOOMED(0x0027) ret=03a7:2149 ds=01e7 08247d08:Ret USER.272: ISZOOMED() retval=0x0000 ret=03a7:2149 ds=01e7 08247d08:Call USER.46: GETPARENT(0x0027) ret=03b7:031a ds=01e7 08247d08:Ret USER.46: GETPARENT() retval=0x0000 ret=03b7:031a ds=01e7 08247d08:Call USER.46: GETPARENT(0x0027) ret=03b7:0cee ds=01e7 08247d08:Ret USER.46: GETPARENT() retval=0x0000 ret=03b7:0cee ds=01e7 08247d08:Call USER.32: GETWINDOWRECT(0x0027,01e7:d7cc) ret=03b7:0cfd ds=01e7 08247d08:Ret USER.32: GETWINDOWRECT() retval=0x00c9 ret=03b7:0cfd ds=01e7 08247d08:Call USER.46: GETPARENT(0x0027) ret=03b7:0cee ds=01e7 08247d08:Ret USER.46: GETPARENT() retval=0x0000 ret=03b7:0cee ds=01e7 08247d08:Call USER.32: GETWINDOWRECT(0x0027,01e7:d7d2) ret=03b7:0cfd ds=01e7 08247d08:Ret USER.32: GETWINDOWRECT() retval=0x00c9 ret=03b7:0cfd ds=01e7 08247d08:Call USER.31: ISICONIC(0x0027) ret=03a7:16b4 ds=01e7 08247d08:Ret USER.31: ISICONIC() retval=0x0000 ret=03a7:16b4 ds=01e7 08247d08:Call USER.272: ISZOOMED(0x0027) ret=03a7:16c0 ds=01e7 08247d08:Ret USER.272: ISZOOMED() retval=0x0000 ret=03a7:16c0 ds=01e7 08247d08:Call USER.33: GETCLIENTRECT(0x0027,01e7:d8b4) ret=03a7:2435 ds=01e7 08247d08:Ret USER.33: GETCLIENTRECT() retval=0x0063 ret=03a7:2435 ds=01e7 08247d08:Call USER.258: MAPWINDOWPOINTS(0x0027,0x0000,01e7:d8b4,0x0002) ret=03a7:2444 ds=01e7 08247d08:Ret USER.258: MAPWINDOWPOINTS() retval=0x45fa ret=03a7:2444 ds=01e7 08247d08:Call KERNEL.60: FINDRESOURCE(0x01e6,0x000000e2 #00e2,0x00000006 #0006) ret=045f:01ad ds=01e7 08247d08:Ret KERNEL.60: FINDRESOURCE() retval=0x06d8 ret=045f:01ad ds=01e7 08247d08:Call KERNEL.61: LOADRESOURCE(0x01e6,0x06d8) ret=045f:01d0 ds=01e7 08247d08:Ret KERNEL.61: LOADRESOURCE() retval=0x0d67 ret=045f:01d0 ds=01e7 08247d08:Call KERNEL.62: LOCKRESOURCE(0x0d67) ret=045f:0205 ds=01e7 08247d08:Ret KERNEL.62: LOCKRESOURCE() retval=0x0d670000 ret=045f:0205 ds=01e7 08247d08:Call KERNEL.21: GLOBALHANDLE(0x0d67) ret=045f:0229 ds=01e7 08247d08:Ret KERNEL.21: GLOBALHANDLE() retval=0x0d670d67 ret=045f:0229 ds=01e7 08247d08:Call KERNEL.19: GLOBALUNLOCK(0x0d67) ret=045f:022f ds=01e7 08247d08:Ret KERNEL.19: GLOBALUNLOCK() retval=0x0001 ret=045f:022f ds=01e7 08247d08:Call KERNEL.60: FINDRESOURCE(0x01e6,0x000000e3 #00e3,0x00000006 #0006) ret=045f:01ad ds=01e7 08247d08:Ret KERNEL.60: FINDRESOURCE() retval=0x06cc ret=045f:01ad ds=01e7 08247d08:Call KERNEL.61: LOADRESOURCE(0x01e6,0x06cc) ret=045f:01d0 ds=01e7 08247d08:Ret KERNEL.61: LOADRESOURCE() retval=0x0e4f ret=045f:01d0 ds=01e7 08247d08:Call KERNEL.62: LOCKRESOURCE(0x0e4f) ret=045f:0205 ds=01e7 08247d08:Ret KERNEL.62: LOCKRESOURCE() retval=0x0e4f0000 ret=045f:0205 ds=01e7 08247d08:Call KERNEL.21: GLOBALHANDLE(0x0e4f) ret=045f:0229 ds=01e7 08247d08:Ret KERNEL.21: GLOBALHANDLE() retval=0x0e4f0e4f ret=045f:0229 ds=01e7 08247d08:Call KERNEL.19: GLOBALUNLOCK(0x0e4f) ret=045f:022f ds=01e7 08247d08:Ret KERNEL.19: GLOBALUNLOCK() retval=0x0001 ret=045f:022f ds=01e7 08247d08:Call KERNEL.60: FINDRESOURCE(0x01e6,0x000000e3 #00e3,0x00000006 #0006) ret=045f:01ad ds=01e7 08247d08:Ret KERNEL.60: FINDRESOURCE() retval=0x06cc ret=045f:01ad ds=01e7 08247d08:Call KERNEL.61: LOADRESOURCE(0x01e6,0x06cc) ret=045f:01d0 ds=01e7 08247d08:Ret KERNEL.61: LOADRESOURCE() retval=0x0e4f ret=045f:01d0 ds=01e7 08247d08:Call KERNEL.62: LOCKRESOURCE(0x0e4f) ret=045f:0205 ds=01e7 08247d08:Ret KERNEL.62: LOCKRESOURCE() retval=0x0e4f0000 ret=045f:0205 ds=01e7 08247d08:Call KERNEL.21: GLOBALHANDLE(0x0e4f) ret=045f:0229 ds=01e7 08247d08:Ret KERNEL.21: GLOBALHANDLE() retval=0x0e4f0e4f ret=045f:0229 ds=01e7 08247d08:Call KERNEL.19: GLOBALUNLOCK(0x0e4f) ret=045f:022f ds=01e7 08247d08:Ret KERNEL.19: GLOBALUNLOCK() retval=0x0001 ret=045f:022f ds=01e7 08247d08:Call KERNEL.90: LSTRLEN(0x0b5fd7a0 "C:\\Program Files\\intuit\\qbtimer\\QBTIMER.HLP") ret=03b7:1d0a ds=01e7 08247d08:Ret KERNEL.90: LSTRLEN() retval=0x002b ret=03b7:1d0a ds=01e7 08247d08:Call KERNEL.90: LSTRLEN(0x0b5fd7a0 "C:\\Program Files\\intuit\\qbtimer\\QBTIMER.HLP") ret=03bf:2ea4 ds=01e7 08247d08:Ret KERNEL.90: LSTRLEN() retval=0x002b ret=03bf:2ea4 ds=01e7 08247d08:Call KERNEL.90: LSTRLEN(0x0b5fd7a0 "C:\\Program Files\\intuit\\qbtimer\\QBTIMER.HLP") ret=03bf:2ecd ds=01e7 08247d08:Ret KERNEL.90: LSTRLEN() retval=0x002b ret=03bf:2ecd ds=01e7 08247d08:Call KERNEL.88: LSTRCPY(0x0b5fd7ce,0x0b5fd7a0 "C:\\Program Files\\intuit\\qbtimer\\QBTIMER.HLP") ret=03bf:2f08 ds=01e7 08247d08:Ret KERNEL.88: LSTRCPY() retval=0x0b5fd7ce ret=03bf:2f08 ds=01e7 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.55: CATCH(01e7:d842) ret=095f:15d3 ds=0a2f AX=d842 BX=0044 CX=072f DX=01e7 SI=d96a DI=d874 ES=072f EFL=00000216 08247d08:Ret KERNEL.55: CATCH() retval=none ret=095f:15d3 ds=0a2f AX=0000 BX=0044 CX=072f DX=01e7 SI=d96a DI=d874 ES=072f EFL=00000216 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call KERNEL.36: GETCURRENTTASK() ret=0957:1f3d ds=0a2f 08247d08:Ret KERNEL.36: GETCURRENTTASK() retval=0x00d700d7 ret=0957:1f3d ds=0a2f 08247d08:Call USER.437: ANSIUPPERBUFF(0x0b5fd82e "C:\\Program Files\\intuit\\qbtimer\\NewTimer.tdb",0x002d) ret=033f:32d5 ds=01e7 08247d08:Ret USER.437: ANSIUPPERBUFF() retval=0x002d ret=033f:32d5 ds=01e7 08247d08:Call USER.437: ANSIUPPERBUFF(0x0b5fd862 "Files\\intuit\\qbtimer\\qbtimer.exe\"",0x0022) ret=033f:32d5 ds=01e7 08247d08:Ret USER.437: ANSIUPPERBUFF() retval=0x0022 ret=033f:32d5 ds=01e7 08247d08:Call KERNEL.60: FINDRESOURCE(0x01e6,0x000000dd #00dd,0x00000006 #0006) ret=045f:01ad ds=01e7 08247d08:Ret KERNEL.60: FINDRESOURCE() retval=0x0714 ret=045f:01ad ds=01e7