Re: How to handle DBTYPE_VARNUMERIC in ATL consumer t emplate

Kjell Arild Tangen <[email protected]> Fri, 17 Jan 2003 10:19:14 +0100
Newsgroups gmane.comp.windows.devel.oledb.devel
Message-ID <[email protected]>
You may use the OLE DB Conversion Library, a COM class that implements the IDataConvert interface. You find a desciption of this interface on MSDN. The CLSID of the object is CLSID_OLEDB_CONVERSIONLIBRARY, which is declared in the two header files:
#include <msdadc.h>
#include <msdaguid.h>
which you need to include.
There are earlier postings on this in this forum that you may want to read.

Regards,
Kjell Tangen

> -----Original Message-----
> From: Paul Selormey [mailto:[email protected]]
> Sent: 17. januar 2003 09:07
> To: [email protected]
> Subject: [OLEDB_DEV] How to handle DBTYPE_VARNUMERIC in ATL
> consumer template
>
>
> Hello All,
> How do I handle the convertion of the DBTYPE_VARNUMERIC to
> long/double? I found Microsoft KB on it, but it does not
> work; the algorithm was giving very large values.
>
> Any help?
>
> Best regards,
> Paul.
>
>
>
>
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

You can read messages from the OLEDB_DEV archive, unsubscribe from OLEDB_DEV, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the OLEDB_DEV archive, unsubscribe from OLEDB_DEV,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.