Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BLOB Files

Status
Not open for further replies.

MahalKoCjet

Programmer
Mar 5, 2003
12
0
0
PH
Hi,

Hi could i read and write BLOB files using ADO? Is There any function doing this?

I've tried this using Visual Basic and it works. Now, I'm thinking to convert the codes from Visual Basic to Visual C++ but it seems to risky because I've never tried before reading and writing BLOB files in Visual C++.

Tenyks in advance.
 
Everything you can do with VB using ADO, you can also do with VC using ADO. ADO is language independent (as all well written COM interfaces). However, using ADO with VC is not as programmer friendly as with VB, although using smartpointers should help a lot overcoming those differences (I never use smartpointers, so I've no actual experience with them).
Greetings,
Rick
 
Yes Rick (LazyMe) is 100% correct. If you look into using the #import technique to using ADO you will be provided with a very similiar interface to what you saw in VB using C++ smart pointer template classes.

Take a look at this FAQ: FAQ116-17
and if you have further questions post back to the forum.

Also i will state that i have used ADO from C++ to read/write blobs using MS SQL Server so I "KNOW" it is supported.

good luck
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top