X-Originating-IP: [200.42.6.189] From: "Norberto Alfredo Bensa" To: 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> <987769258 DOT 17780 DOT 0 DOT pluto DOT d4ee1e86 AT news DOT demon DOT nl> Subject: Re: trouble with classes (for me a unexplainable crash) Date: Fri, 20 Apr 2001 10:35:45 -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: X-OriginalArrivalTime: 20 Apr 2001 13:36:52.0843 (UTC) FILETIME=[F592D3B0:01C0C99E] Reply-To: djgpp AT delorie DOT com 512K by default. Run stubedit [your-program.exe] to change... Best regards, Norberto ----- Original Message ----- From: "Santing, Peter" Newsgroups: comp.os.msdos.djgpp To: Sent: Friday, April 20, 2001 9:29 AM Subject: Re: trouble with classes (for me a unexplainable crash) > Question:.. how big is the stack anyway??? > > Best Regards, > Peter Santing > > Norberto Alfredo Bensa schreef in berichtnieuws > OE62xc1o8yfogkJXrRj00002159 AT hotmail DOT com... > > Perhaps object3d is too big to fit in the stack... 68(bytes)*10000 = > > ~664KBytes > > > > Best regards, > > Norberto > > > > > > > > > > ----- Original Message ----- > > From: "Santing, Peter" > > Newsgroups: comp.os.msdos.djgpp > > To: > > 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 > > > > > >