I am working on a catch-all to release all handles when my program closes. Is the for loop below safe?
Long lHandle=0;
for(lHandle=0; lHandle<999; lHandle++){
Hooks1->ReleaseHistory(lHandle);
Hooks1->ReleaseTimeSales(lHandle);
}
Long lHandle=0;
for(lHandle=0; lHandle<999; lHandle++){
Hooks1->ReleaseHistory(lHandle);
Hooks1->ReleaseTimeSales(lHandle);
}
Comment