From: cgf AT bbc DOT com (Christopher Faylor) Subject: Re: calling GetCommandLine from EGCS 1.0.2 and other EGCS trouble 30 Mar 1998 18:36:58 -0800 Message-ID: References: <199803231156 DOT MAA00276 AT bamp01 DOT sternwarte DOT uni-erlangen DOT de> Reply-To: cgf AT bbc DOT com To: gnu-win32 AT cygnus DOT com In article <199803231156 DOT MAA00276 AT bamp01 DOT sternwarte DOT uni-erlangen DOT de>, Michael Lemke wrote: >On the weekend, I installed b19 with the b19.1 dll, egcs 1.0.2 from Mumit's >site and tried to recompile a simple program for b19 that worked fine on b18. > >Problem: It calls GetCommandLine (or what it's called -- no access to PC >from here). In b18 GetCommandLine returns every arg with a space appended, >e.g. > > foo arg1 arg2 arg3 > >returns in b18 (without the quotes) > > "arg1 " > "arg2 " > "arg3 " I don't understand what you're saying. GetCommandLine returns a pointer to the command line string. Are you perhaps saying that arg3 does not have a trailing space? I believe that it might have in B18 but that is no longer the case in B19. -- http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".