www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/19/18:08:03

X-Originating-IP: [200.42.6.189]
From: "Norberto Alfredo Bensa" <ceo AT nbensacomputers DOT com>
To: <djgpp AT delorie DOT com>
References: <987710007 DOT 24446 DOT 0 DOT pluto DOT d4ee1e86 AT news DOT demon DOT nl> <987712178 DOT 25575 DOT 0 DOT pluto DOT d4ee1e86 AT news DOT demon DOT nl>
Subject: Re: trouble with classes (for me a unexplainable crash)
Date: Thu, 19 Apr 2001 18:25:41 -0300
Organization: nBens@ Computers
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <OE62xc1o8yfogkJXrRj00002159@hotmail.com>
X-OriginalArrivalTime: 19 Apr 2001 21:26:32.0380 (UTC) FILETIME=[67792FC0:01C0C917]
Reply-To: djgpp AT delorie DOT com

Perhaps object3d is too big to fit in the stack... 68(bytes)*10000 =
~664KBytes

Best regards,
Norberto




----- Original Message -----
From: "Santing, Peter" <peter DOT nospam DOT santing AT phibian DOT net>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Thursday, April 19, 2001 5:38 PM
Subject: Re: trouble with classes (for me a unexplainable crash)


> It seems that I fixed it.. although I do not understand why this method
> works and my old one not:-
>
> I have changed the following line into 2 lines:-
>
> object3d    mypoly;
>
> into...
>
> object3d    *mypoly;
> mypoly = new object3d;
>
> and every mypoly.xxxxxxxx ref to mypoly->xxxxxxx.
>
> it does the same and it seems to be working..
>
> if anyone knows why this works and the old method not.. please post your
> answer.. I want to know why..
>
> Regards,
>     Peter Santing
>

- Raw text -


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