Hi, I have an MFC app which has a mappoint ocx control. I call AfxBeginThread to update a bunch of pushpins from a database. The thread seems to be able to access the CMappointCtrl that the main thread uses, but the CMap returned by GetActiveMap() doesn't work right. When I do a QuickWatch in VS7 unter the CMap's __vptr "CXX0030: Error: expression cannot be evaluated"
Both threads do need to access the same CMappointCtrl and all it's parts, but not at the same time. While the AfxBeginThread() thread is running, the main thread doesn't need to touch it at all.