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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

read a raw Field from DB & use MultiByteToWideChar

Status
Not open for further replies.

TheMillionDollarMan

Programmer
Jun 10, 2002
132
US

How am I suppose to read a RAW datatype from Oracle using ADO?
CString strRawField;
strRawField = UC _bstr_t(RsITEM(spRS,0L)) ;
Here is a sample of what the data looks like. This is one row from the field with the RAW data type.Its multibyte.

33303734000000000000000000000000000000000000000000000000000000000000

I'm using
Windows 2k
VC++ 6.0
Oracle 8.1.6

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top