Welcome to the Architecture Events Forum!

Welcome to the Architecture Events Forum. This forum is for discussing architecture-related events, conferences and seminars. This forum is moderated by several members of Microsoft's Architecture Strategy Team. We welcome all questions and comments related to architecture, although we recommend that product specific questions (for example, "I can't get x to install") are directed to more appropriate forums.
[523 byte] By [SimonGuest] at [2008-2-17]
# 1

How can I see record's content in raw_WillChangeRecord(...) ?

Any method ( even Fields->Count ) returns DB_E_NOTREENTRANT.

How it can be solved ?

By the way: I did not succeed to get raw_WillChangeRecord in case of using SQL command INSERT ... . It works with AddNew method ( with data binding class I use ) only !? It looks strange, I tried to play with many params of Open() method but it doesn't help. May be I did somthing wrong way, but no more than taking MS example and playing with it ( + of-couse a lot MSDN reading ).

So: How does it work ?

Crutial thing: Recordset pointer in raw_WillChangeRecord method does not allow to see neither record's fields, nor use Save( to XML ), nor get bound Class ( in case of data binding ) nor Clone() - absolutely nothing ( DB_E_NOTREENTRANT ). I used to trust Microsoft it is not it's style to produce things dont work, but how it can be used, Example ? or tutorial ? Please.

original question see: ADO events handler of Visual C++ General
Andrey33 at 2007-9-3 > top of Msdn Tech,Architecture,Architecture Events...