www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/27/12:07:38

From: Nicolas Blais <nicblais AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Stack space
Date: Wed, 27 Oct 1999 14:21:05 GMT
Organization: Deja.com - Before you buy.
Lines: 22
Message-ID: <7v71od$vas$1@nnrp1.deja.com>
NNTP-Posting-Host: 206.167.109.2
X-Article-Creation-Date: Wed Oct 27 14:21:05 1999 GMT
X-Http-User-Agent: Mozilla/4.08 [en] (Win95; I ;Nav)
X-Http-Proxy: 1.0 FXGENS1, 1.0 x29.deja.com:80 (Squid/1.1.22) for client 206.167.109.2
X-MyDeja-Info: XMYDJUIDnicblais
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a question that's kind off weird but anyway here it is:

All of my DJGPP progs use the default stack space of 512K.  So,
obviously my programs crashes when it uses more then 512K.  I know I can
change this value with stub but I don't really want to.  What I want to
do is to create a variable with new like such:
double x = new double;

And make him use a part of memory that's already in use by another
program, like windows for example.  Let's say that I have that address
and I want to store a new variable there, how could I do it?

Thanks and sorry for not being clear.

--
nicblais AT hotmail DOT com
Powered by FreeBSD!
http://www.freebsd.org


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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