oledb atl consumer

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

I'm implementing a win32 console application that access to a database sql
server 2000 using the class oledb atl consumer.
Reading from the database is ok but when I try to write to the db using this
code:

http://msdn.microsoft.com/library/i...rary/ITA/vccore/html/vcconupdatingrowsets.asp

it gives me a runtime error, exactly:

Debug assertion failed!
File: ........./atldbcli.h
Line: 6368
Expression: session.m_spOpenRowset != 0
....
....

Can someone please help me?
Thank you very much!
 
Back
Top