🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14142

resource leak closing application

#14142
From: RST
Date: Fri, 29 Aug 2003 09:03
24 lines
1784 bytes
Hello,

when I close my application (generated by C++ Builder 6 Pro), I get a
resource leak reported by codeguard, which tells me something has not been
freed, allocated with SysGetMem.

Messages appear like:
System::__linkproc__ GetMem(int)
WinHelpviewer::initialization()

Because I could not find an error in my application, I created a new blank
application, with a blank form. I switched on also the codeguard option and
compiled and linked the blank application.

Also this application, when it gets closed, shows the same codeguard message
concerning a resource leak, so it can not be a problem of my style of coding
obviously.

Has somebody got an idea, what to do to get rid of this strange effect ? Is
this
just a bug of Borland C++ Builder 6 ? Using BCB 5, I did not encounter this.

Thanks in advance
W. Borisch
Technical Details
Message-ID: <3f4f186a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aa800ed4de36b37b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-29 02:39:35 PST
From: "RST" <rst@w-4.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: resource leak closing application
Date: Fri, 29 Aug 2003 11:03:30 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.235.131.93
Message-ID: <3f4f186a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062148202 217.235.131.93 (29 Aug 2003 02:10:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail