🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1898

Re: TDBGrid as a parameter

#1898
From: Jeff Garrett
Date: Tue, 03 Nov 1998 00:00
35 lines
1796 bytes
I would first guess that there is an error before the line where
you get the error. I try and figure these things out by block
commenting out the function. Since I usually have methods, I
then make the method an inline empty method just so that I should
get no compile errors. I'd guess you can do the same with a
function....

Another thing is that another error indicates that you are declaring
a method called DBGridCut. Are you making both a function and a 
method with the same name ?

Perhaps you can post a message where you cut and past the
exact declarations and implimentations of the functions/methods
in question.


Maverick Koe wrote:
> 
> Hi,
> 
>         I want to create a function and pass "TDBGrid" as a parameter.
> i.e.  void __fastcall DBGridCut(TDBGrid *DBGrid); However, I received errors
> as follows.
> 
> [C++Error] ADMClipboard.cpp(26): Undefined symbol 'TDBGrid'.
> [C++Error] ADMClipboard.cpp(49): 'TDBGrid' cannot start a parameter
> declaration.
> [C++Error] ADMClipboard.cpp(50): '_fastcall TAClipboard::DBGridCut(int &)'
> is not a member of 'TAClipboard'.
> 
> I have included dbcgrid.hpp in my c++ file already.  Any idea??
> 
> Regards,
> Maverick
Technical Details
Message-ID: <363FEF26.10F89F4@fej.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <71np28$8jd1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,6dc1e70e9046eb35
X-Google-Attributes: gidfcd2b,public
From: Jeff Garrett <bcb@fej.org>
Subject: Re: TDBGrid as a parameter
Date: 1998/11/03
Message-ID: <363FEF26.10F89F4@fej.org>
X-Deja-AN: 408199023
Content-Transfer-Encoding: 7bit
References: <71np28$8jd1@forums.borland.com>
To: Maverick Koe <kcool@netcom.ca>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: In desperate need of a job !
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier