AV: Objects remaining in memory after termination of app
"d_7_dude" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm currently using Delphi 7 in combination with SQL Server 2000 (I use the SDAC components, v2.40.0.15) for data access which are based upon the ADODB components) and I'm having problems closing down my application. As it is not a small program I use several connection objects, stored proc objects, table objects etc. As the application terminates I explicitly close all these objects in their forms / data modules and everything seems to be destroyed correctly (all loaded forms are closed also)...but when I simply start the application, *immediately* close it (after some forms/datamodules are loaded and some initialization has taken place) and then restart it Delphi responds with: Access violation at address 0052C314 in module coreide70.bpl read of address 000000AC. After this error alot of other AV's follow and I'm forced to close Delphi and restart it, recompile my app and only then I'm able to start the app again. I'm almost sure that when closing the app something stays in memory causing all this. How do I find out what object/component is not destroyed ? How do I test for memory leaks etc ? I haven't found anything very usefull in the integrated debugger, so do I need some extra utility/expert for this ? All I actually need is a detailed list of objects remaining in memory after the app has terminated so I can destroy them and the termination is complete. Any tips/help would be much appreciated, Erik Koffijberg. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges & Refill Kits for Your Epson at Myinks.com Free shipping on orders $50 or more to the US and Canada. http://www.c1tracking.com/l.asp?cid=5705&lp=home/epson.asp http://us.click.yahoo.com/brYXfA/_xWGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/