I'm having a problem loading a shapefile. After I select the file and click on the OK button a dialog box appears with a message starting with:
CShapeFileSegment::DrawObject reference not set to an instance of an object. at CShapeFileSegment.Draw(...