Message-ID: <37F0F288.25B90206@softhome.net> Date: Tue, 28 Sep 1999 18:53:28 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: lt,en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Help with arg passing References: Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > Please ask specific questions about specific code fragments that you > cannot figure out. OK. > dosexec.c is a tremendously complicated hodgepodge of subtle tricks, > and I don't expect anybody to be able to tell the whole story without > forgetting some of the important details, in reply to such a broad and > general question. My questions are from direct_exec_tail() - 1) Is argv[0] passed together with other args ? 2) Is argv[0] equal to exe's file name passed to DOS fn 0x4B? Where in the memory lives argv[0] and .exe name ? 3) If LFN is converted to SFN, which version (short or long) goes to argv[0]? Thanks, Laurynas Biveinis