Mail Archives: djgpp/1999/07/20/07:10:56

Message-ID: <>
From: Anders David Skarin <hobbit AT swipnet DOT se>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Problems whith passing commandline args
Lines: 22
X-Complaints-To: news-abuse AT swip DOT net
X-Trace: 932466718 (Tue, 20 Jul 1999 12:31:58 MET DST)
NNTP-Posting-Date: Tue, 20 Jul 1999 12:31:58 MET DST
Organization: A Customer of Tele2
X-Sender: s-437261 AT dialup42-1-10 DOT swipnet DOT se
Date: Tue, 20 Jul 1999 12:30:33 +0200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Dear list :-)

I have a strange problem (at least if i define it), when 
passing command line arguments longer than 2 characters (+3 dos file
to my 3d-engine my vesa routines will not find the mode i 
want to use. (this works perfectly if you pass 2+3 char arguments)

The only thing i can think of that might be causing the problem 
is DJGPPs internal transfer buffer (__tb), which I use to collect
information in my vesa routines. 

Does anyone know if DJGPP uses this buffer for commandline args, 
and in the process somehow corrupts it?

If this is the case, how does one get the size of the buffer to clear

Or does anyone have the slightest clue of what else might be going on?

- Raw text -

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