delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/19/13:30:26

From: Brian Osman <osmanb AT rpi DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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