From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Crash in class when adding new variables Date: Sun, 06 Sep 1998 10:35:57 -0300 Organization: NBTel Internet Lines: 18 Message-ID: <35F28FBD.D1189C78@unb.ca> References: <35eec1db DOT 0 AT 195 DOT 158 DOT 64 DOT 19> <35f0e017 DOT 37639438 AT news DOT Austria DOT EU DOT net> <35f01ace DOT 0 AT 195 DOT 158 DOT 64 DOT 19> <35fd5f72 DOT 48706033 AT news DOT Austria DOT EU DOT net> <35f165f6 DOT 0 AT 195 DOT 158 DOT 64 DOT 19> NNTP-Posting-Host: fctnts05c94.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mars wrote: > Thanks for your reply. > I tried as you said, to make the pointer point to NULL. But it still crashed. > I'm attaching the source code so that you can try it. As it is, it is runnable. > But when you add another variable to either class GridMap or class GridMap2, > the program crashes. > > To exit program, press 'x'. You should try an find the smallest code snippet that still has this problem. Preferably one that doesn't involve Allegro (as I cannot help you because I do not have it). -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca