Thread: How to store and retreiving binary data using VC++ ?

How to store and retreiving binary data using VC++ ?

From
Bui Nguyen Minh
Date:
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

Re: How to store and retreiving binary data using VC++ ?

From
John K Herreshoff
Date:
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


Re: How to store and retreive binary data using VC++ ?

From
Bui Nguyen Minh
Date:
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