🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Custom Database Objects

#3569
From: Vassiliev V.V.
Date: Thu, 11 Jul 2002 07:30
31 lines
2334 bytes
Look Examples\DBTasks\TextData sample in BCB5/6. Buffer holds a record
data - not necessary string. Each field is stored at predefined (by you)
offset.

Regards,
Vassiliev V.V.
http://www.oledbdirect.com


"Mark Petryk" <markpetryk@yahoo.com> ???????/???????? ? ???????? ?????????:
news:3D2C9E84.9030609@yahoo.com...
> I am trying to construct my own database object, consistent with
> borland's objects, that connects to my own database engine (sort of).
> Actually, it's a client program that has conduits to the internal data
> through DDE and COM.  So, I want to construct my own database object to
> "transform" (so to speak) my DDE/COM database to a database object that
> can be placed on a TDBGrid or TDBEdit or any of the other objects.
>
> Is there documentation on how to do this?
>
> I have built an object, so far, that looks like the TDataSet object.
> I've gotten as far as noticing that when I connect my TMyDataSet object
> to the TDataSource object for a TDBGrid object that it begins making
> calls (IsCursorOpen, AllocRecordBuffer, GetRecord) and so on.  But,
> AllocRecordBuffer, for instance, returns a pointer to a character
> buffer.  My data, necessarily, isn't in a big character buffer.  It's a
> bunch of fields and things.  So, is there some sort of documentation
> that can provide some guidance?
>
> Any help is greatly appreciated.
>
Technical Details
Message-ID: <3d2d3e72_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news.stealth.net!news.stealth.net!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3D2C9E84.9030609@yahoo.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,1099f485881ce80e
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-11 02:54:58 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3D2C9E84.9030609@yahoo.com>
Subject: Re: Custom Database Objects
Date: Thu, 11 Jul 2002 11:30:45 +0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.118.133.35
Message-ID: <3d2d3e72_1@dnews>
X-Trace: dnews 1026375282 62.118.133.35 (11 Jul 2002 01:14:42 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news.stealth.net!news.stealth.net!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews