www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/01/18:01:27

Date: Tue, 1 Jun 1993 17:32 EST
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: command argument 0 (go32)
To: djgpp AT sun DOT soe DOT clarkson DOT EDU

Hi, DJ. 

The command argument 0 strings (the name of program itself) that passed to
program are different between two ways of program executions, i.e. "go32
myprog" passes a short string of "myprog" to program, but "myprog.exe" passes a
full path name with disk and subdir names for myprog.exe file for the command
argument[0]. (I am using go32 1.09*)  If myprog tries to use its path info,
then "go32 myprog" or "debug32 myprog" will fail to get such path info. 
("go32 full_path\myprog" would work, though.)

This is a minor thing, but I like the consistent behavior between two ways of
executions in future go32 releases(1.10,2.0) _if_ it is easy to support.

Regards,

Wonkoo.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019