How To Implement Visual C++ COM Objects Returning Recordsets (225131)
The information in this article applies to:
- Microsoft Active Server Pages
- ActiveX Data Objects (ADO)
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Server 5.0
- Microsoft Data Access Components 2.5
This article was previously published under Q225131 SUMMARY This article describes, by example, how to implement a
Visual C++ Component Object Model (COM) object that returns a recordset to
Active Server Pages (ASP). Implementing this incorrectly can result
in memory leaks or one of the following errors: The
operation requested by the application is not allowed if the object is closed.
Type Mismatch error 'ASP 0115' - A trappable error
occured in an external object REFERENCES For additional information, please see the following
articles in the Microsoft Knowledge Base: 184397 How To Getting ADO Disconnected Recordsets in VBA/C++/Java
193515 PRB: Update of Same Record 2x w/Disconnect ADO Recordset Fails
224424 How To Implement Visual Basic COM Objects Returning Recordsets
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbCodeSnippet kbDatabase kberrmsg kbhowto KB225131 |
---|
|