From: Brian Osman Newsgroups: comp.os.msdos.djgpp Subject: Re: Variables passed to the OS Date: Fri, 19 Sep 1997 11:46:23 -0400 Organization: Rensselaer Polytechnic Institute, Troy NY, USA Lines: 10 Message-ID: <34229E4F.A07194BF@rpi.edu> References: <34209CC9 DOT 5AFE AT utoronto DOT ca> Reply-To: osmanb AT acm DOT org NNTP-Posting-Host: darkwing.stu.rpi.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hmmm, I'm not sure this is an answer to your problem, but you might try adding the third parameter to main(). int main(int argc, char *argv[], char *env[]) (The reason I say not sure, is that I don't know if this works in DJGPP/DOS.) Anyone else? Brian