X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5AD2DD1B45C for ; Sun, 21 Dec 2003 02:16:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 37025-09 for ; Sat, 20 Dec 2003 22:16:02 -0400 (AST) Received: from web41511.mail.yahoo.com (web41511.mail.yahoo.com [66.218.93.94]) by svr1.postgresql.org (Postfix) with SMTP id BE581D1B4A3 for ; Sat, 20 Dec 2003 22:15:57 -0400 (AST) Message-ID: <20031221021600.85629.qmail@web41511.mail.yahoo.com> Received: from [203.210.152.15] by web41511.mail.yahoo.com via HTTP; Sat, 20 Dec 2003 18:16:00 PST Date: Sat, 20 Dec 2003 18:16:00 -0800 (PST) From: Bui Nguyen Minh Subject: Re: How to store and retreive binary data using VC++ ? To: pgsql-odbc@postgresql.org In-Reply-To: <200312201750.48254.jkherr@centurytel.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-42691990-1071972960=:84972" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/67 X-Sequence-Number: 3605 --0-42691990-1071972960=:84972 Content-Type: text/plain; charset=us-ascii Thank you!, but what about CRecordset ...? is it possible ?. In "PostgreSQL 7.2 Programmer’s Guide" wrote : "In Visual C++, you can use the CRecordSet class, which wraps the ODBC API set within an MFC 4.2 class. This is the easiest route if you are doing Windows C++ development under Windows NT." Regards Bui Nguyen Minh John K Herreshoff wrote:Check out the postgresql > gborg > odbc site. There is an example of using a recordset to add data through ADO. It works well. John. On Saturday 20 December 2003 05:52, Bui Nguyen Minh wrote: > Hi, > i'm new to PostgreSQL. i don't know how to store and retreiving binary data > using VC++ (using CRecorset ? ..) i'm using MFC classes: CRecordset, > CDatabase and connect throught ODBC, it seems work for other types but not > for binary data, can i using RFX_.. functions ?. Please help me ! Thankx. > Bui Nguyen Minh. > > > --------------------------------- > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster --------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --0-42691990-1071972960=:84972 Content-Type: text/html; charset=us-ascii
Thank you!, but what about CRecordset ...? is it possible ?. In "PostgreSQL 7.2 Programmer’s Guide" wrote :
"In Visual C++, you can use the CRecordSet class, which wraps the ODBC API set within an MFC 4.2
class. This is the easiest route if you are doing Windows C++ development under Windows NT."
Regards
 
Bui Nguyen Minh

John K Herreshoff <jkherr@centurytel.net> wrote:
Check out the postgresql > gborg > odbc site. There is an example of using a
recordset to add data through ADO. It works well.

John.

On Saturday 20 December 2003 05:52, Bui Nguyen Minh wrote:
> Hi,
> i'm new to PostgreSQL. i don't know how to store and retreiving binary data
> using VC++ (using CRecorset ? ..) i'm using MFC classes: CRecordset,
> CDatabase and connect throught ODBC, it seems work for other types but not
> for binary data, can i using RFX_.. functions ?. Please help me ! Thankx.
> Bui Nguyen Minh.
>
>
> ---------------------------------
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing --0-42691990-1071972960=:84972--