Code:
Maybe Mappoint has a problem because the calling application is not responding ? You can simple try this out by calling the message pump in your loop.
Is there any timeout for MapPoint?
Am not too sure how to use the same in "message pump in your loop."
By the way I would like to inform one morething i.e. I am using System.Runtime.InteropServices.Marshal.ReleaseComO bject to release the objects, Does this cause any problems??
Thanks,
Vijay