FIX: GetPropertyInfo Not Returning Correct Values for Default Case (217183)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual Studio, Enterprise Edition 6.0
- Microsoft Visual Studio 6.0 SP3
This article was previously published under Q217183 SYMPTOMS
After creating an OLE DB Provider with the ATL Wizard in Visual C++ 6.0, the IDBProperties::GetPropertyInfo returns all of the DATASOURCEINFO properties rather than the initialization properties; also, the GUID returned in the DBPROPINFOSET structure is DBPROPSET_DBINITALL.
CAUSE
This problem is caused by a bug in IDBPropertiesImpl::GetPropertyInfo(), implemented in the ATL OLE DB header file Atldb.h.
RESOLUTION
Install Visual Studio Service Pack 3 to get a corrected version of Atldb.h.
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | kbBug kbDatabase kbfix kbProvider kbVS600sp3fix KB217183 |
---|
|