🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5107

problems with delete Tables

#5107
From: Joe P. Shoe
Date: Thu, 12 Jul 2001 14:31
11 lines
1163 bytes
When I make 

TTable* Tablenam=new TTable(Formname);
delete Tablename;

On more than one Form or class I get a linker warning that something is declared in twice.

As soon as I take the delete away or make a free, the warning is gone. But of course, I am not surpose to do neither of them in the program. Has anybody an idea what can help me?

Thanks
Technical Details
Message-ID: <3b4db4de$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,461104e6979e2762,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-07-12 07:40:51 PST
From: "Joe P. Shoe" <jshoe911@hotmail.com>
Sender: "Joe P. Shoe" <jshoe911@hotmail.com>
Reply-To: "Joe P. Shoe" <jshoe911@hotmail.com>
Subject: problems with delete Tables
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 192.69.234.26 192.69.234.26    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b4db4de$1_2@dnews>
Date: 12 Jul 2001 07:31:58 -0700
X-Trace: dnews 994948318 207.105.83.65 (12 Jul 2001 07:31:58 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews