Anonymous
01-24-2005, 02:55 PM
Here is some test code in my program that I used to hunt down an exception.
MapPoint.DataSet assignedMembers = oMap.DataSets.AddPushpinSet(
"Membership2" );
// Add 0 or more pushpins to the dataset
MapPoint.Recordset rs;
for ( int i = 0; i < 500 ; i++)
{
rs = assignedMembers.QueryAllRecords();
}
Regardless of how many pushpins are added to the dataset, there will always
be an unknown COM exception thrown when i = 201.
Is there something that needs to be done to dispose, reset, delete, release,
or reset the Recordset?
Help me Obe Wan Kenobe. You are my last hope.
--
Regards.
Mark K Vallevand
mark.vallevand@unisys.com
MapPoint.DataSet assignedMembers = oMap.DataSets.AddPushpinSet(
"Membership2" );
// Add 0 or more pushpins to the dataset
MapPoint.Recordset rs;
for ( int i = 0; i < 500 ; i++)
{
rs = assignedMembers.QueryAllRecords();
}
Regardless of how many pushpins are added to the dataset, there will always
be an unknown COM exception thrown when i = 201.
Is there something that needs to be done to dispose, reset, delete, release,
or reset the Recordset?
Help me Obe Wan Kenobe. You are my last hope.
--
Regards.
Mark K Vallevand
mark.vallevand@unisys.com