Newsgroups: comp.lang.pascal
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!maytag!watstat.waterloo.edu!dmurdoch
From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch)
Subject: Re: Overwrite TApplication.Init?
Message-ID: <1991Apr12.171733.6511@maytag.waterloo.edu>
Sender: news@maytag.waterloo.edu (News Owner)
Organization: University of Waterloo
References: <11841@j.cc.purdue.edu> <1991Apr12.012228.3581@maytag.waterloo.edu> <2337@pdxgate.UUCP>
Date: Fri, 12 Apr 1991 17:17:33 GMT
Lines: 10

In article <2337@pdxgate.UUCP> mwizard@eecs.cs.pdx.edu (Craig Nelson) writes:
>Normally if you do not call a constructor
>with an object before you use a virtual method a runtime error will occur. 

This only happens if you compile the code with the $R+ compiler option.  
I should have suggested that; very frequently, if your program crashes
inexplicably, $R+ will find the error, because it does range-checking
and object VMT validation.

Duncan Murdoch
