|
-
October 5th, 1999, 04:31 PM
#1
OLEDB
I'm using OLEDB to access my datasource with an CDynamicAccessor and I'm having problems to retrieve data with a different type than string.
I don't know how to use
template < class ctype >
bool GetValue( ULONG nColumn, ctype* pData ) const;
Thanks
Gustavo
-
September 28th, 2001, 10:07 AM
#2
Re: OLEDB
GetValue is overloaded. Use the following to avoid any sizeof() errors.
void* pData = m_query.GetValue(nfieldnum);
Where m_query is you CDynamicAccessor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|