Mail Archives: djgpp/2001/02/23/22:36:27
Message-ID: | <3A9729EA.C659E76@user.rose.com>
|
From: | April <awhite AT user DOT rose DOT com>
|
X-Mailer: | Mozilla 4.7 [en]C-CCK-MCD {TLC;RETAIL} (Win95; U)
|
X-Accept-Language: | en
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | rsxntdj 1.5.1, djgpp 2.03: dll runs out of stack
|
Lines: | 29
|
Date: | Fri, 23 Feb 2001 22:26:34 -0500
|
NNTP-Posting-Host: | 205.189.215.4
|
X-Trace: | client 982984912 205.189.215.4 (Fri, 23 Feb 2001 22:21:52 EST)
|
NNTP-Posting-Date: | Fri, 23 Feb 2001 22:21:52 EST
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Reading specs from c:/tools/gnu/rsxntdj/lib/specs
gcc driver version 2.95.2 19991024 (release) executing gcc version 2.8.1
GNU ld version 2.9.5 (with BFD 2.9.5)
I have been playing with a compression code someone else wrote. At work
I made the code into a dll using VC++, and got it to work from within a
visual basic 6 program. I would compress a 1.4MB bitmap. I forget the
output size, but I compressed a 20MB clipper/dbase .DBF to ~2MB
Well I have being dependant upon a MS product, so I've been trying to
get the dll to work with rsxntdj/djgpp. The code works - and the dll is
actually smaller than the VC version [8.5K vs 20K]
BUT
when I try to compress the same bitmap, I get an out of stack error in
VB. Smaller files compress okay, but not large!
I've tried setting a _stklen var to 4MB, to no avail. I tried the
pestack utility to increase the stack, again to no avail.
I know this will never replace wiz/winzip, but it is an interesting
learning process.
Does anyone have any suggestions?
Thanks.
- Raw text -