Binary data using binding class in VC++ problem encounters!!!!!!!!

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

mukesh

Thread Starter
Joined
Jan 4, 2002
Messages
1
Hi,
I'm using ADO through VC++ extensions.When we try to add binary data to a binary field in a table using CADORecordBinding class com exceptions do occur.I've tried all the possible options known to me but have no luck till now.Is this problem known or I'm missing something?

Here is the binding class sample

class test : public CADORecordBinding
{
BEGIN_ADO_BINDING(test)
ADO_VARIABLE_LENGTH_ENTRY2( 1, adBinary, m_btid, sizeof(m_btid), m_ulidStatus, TRUE)
ADO_VARIABLE_LENGTH_ENTRY2( 2, adChar, m_szAdd1, sizeof(m_szAdd1), m_ulAdd1Status, TRUE)
ADO_FIXED_LENGTH_ENTRY ( 3, adInteger, m_lIde, m_ulIdeStatus, TRUE)
END_ADO_BINDING()

//Attributes
public:
BYTE m_btid[10];
ULONG m_ulidStatus;
CHAR m_szAdd1[11];
ULONG m_ulAdd1Status;
LONG m_lIde;
ULONG m_ulIdeStatus;
};
Desperately looking for the answer.

Thanks
Mukesh
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top