Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!uflorida!pine.circa.ufl.edu!jhoogen From: jhoogen@pine.circa.ufl.edu (HOOGENRAAD) Newsgroups: comp.lang.pascal Subject: Problems wick QuickPascal objects & heaperrorproc Keywords: QuickPascal, objects, heap Message-ID: <26868@uflorida.cis.ufl.EDU> Date: 12 Feb 91 19:10:04 GMT Sender: news@uflorida.cis.ufl.EDU Reply-To: jhoogen@pine.circa.ufl.edu Organization: University of Florida (ufl.edu) Lines: 20 News-Software: VAX/VMS VNEWS 1.3-4 Hi folks, Because I wanted to start with OOP, and I hated Turbo Pascal, I bought myself a QuickPascal Compiler. Well, as there is no documentation whatsoever with this package, Maybe someone over here can help me with a problem I have with it. In my (first) program, I made two object types: a BUFFER-class, wherein I can store data, and a BUFLST class, whereof only one instance exists, with all the BUFFER's that have memory allocated that can be regenerated quickly. If I connect the heaperror-procedure to a BUFLST-method to free some memory, I observe the following things after I try to allocate memory: A) MemAvail goes to 1MB+(the size of the disposed object) sometimes and B) New returns adresses of data I DID NOT dispose. Has someone similar experiences, and if so, what was the problem ? Or should I keep trying to reach the (always busy) Microsoft-support lines ? See you, Jan Hoogenraad