Re: Bug in GUI App WinMain Arguements

2003-04-05 Thread Joshua Daniel Franklin
On Fri, Apr 04, 2003 at 07:58:27PM +0100, Max Bowsher wrote: > BB wrote: > > Also, according to the "Cygwin Users Guide", I have included the following > > line in the code. > > WinMainCRTStartup() { mainCRTStartup(); } > > It doesnt seem to be called. Is the User Guide correct? The same problem >

Re: Bug in GUI App WinMain Arguements

2003-04-04 Thread Max Bowsher
BB wrote: > I'm having a problem running a windows gui app with arguments from a > mounted directory if the Win32Path mounted to contains blanks. (i.e. > mount -s -b "C:/foo bar" "/foobar"). It's not a mount specific problem > because it also occurs if the directory has a space in it. Since > mkpa

Re: Bug in GUI App WinMain Arguements

2003-04-04 Thread Christopher Faylor
On Fri, Apr 04, 2003 at 12:08:46PM -0600, BB wrote: >I added a call to GetCommadLine() to see what it returns. It correctly >quotes the directory with spaces in it, so the caller of WinMain() should >easily be able to handle it. Win95 does too. Sounds like a really simple patch then. Looking for

Re: Bug in GUI App WinMain Arguements

2003-04-04 Thread BB
I added a call to GetCommadLine() to see what it returns. It correctly quotes the directory with spaces in it, so the caller of WinMain() should easily be able to handle it. Win95 does too. >From "/home/cygusr" GetCommandLine() returns [C:\cygwin\home\bkash\prtcmdline\prtcmdline.exe arg1 arg] >F

Re: Bug in GUI App WinMain Arguements

2003-04-04 Thread Martin
here is the workaround we use in Ant build (which by the way outclasses anything any make can do) /cygdrive/c/Documents and Settings/cygusr //becomes /cygdrive/c/DOCUME~1\cyguser //workaround for 95/98 inability to handle spaces in directory name Martin - Original Message --