PROBLEM
A stand alone Visual Basic application may crash when a spatially filtered recordset is returned to the client, after a geometry envelope was passed to the data source as an ADO parameter.
The geometry object is not being freed correctly, the ADO Command parameter may be releasing it twice.
Pass the necessary parameters into an ADO Command::Execute method directly.
Article ID:000002740
Get help from ArcGIS experts
Download the Esri Support App