使用产品:SMO_CPP_801_13228_53527_Win
操作系统:win7 x64
数据类型: 不知
问题详细描述:中断弹出的窗口显示信息:
0x0000000004DEDFA9 (SuMapd.dll)处(位于 Positioning_Gui_Application.exe 中)引发的异常: 0xC0000005: 读取位置 0x0000000000000000 时发生访问冲突。
如有适用于此异常的处理程序,该程序便可安全地继续运行。
点击继续,还是会弹出该窗口,信息也是一样,卡在这里了,点击中断,显示以下代码处:
void Positioning_Gui_Application::importBSLocation(std::vector<ENodeB> BSlist)
{
UGDatasetVectorInfo condt1;
condt1.m_nType = UGDataset::DatasetType::Point;
condt1.m_nOptions = UGDataset::DatasetOption::Default;
condt1.m_strName = _U("sector");
UGDatasetVector* BsDataset = DataSource->CreateDatasetVector(condt1);
condt1.m_strName = _U("UE");
UGDatasetVector* UEDataset = DataSource->CreateDatasetVector(condt1);
UGThemeLabel* pThemeLable = new UGThemeLabel;
UGLayer* BsLayer = qMapControl->GetMap()->m_Layers.AddDataset(BsDataset, true,
UGLayer::UG_Layer_Normal, _U("siteLayer"));//显示这是要执行的下一句
UGLayer* UELayer = qMapControl->GetMap()->m_Layers.AddDataset(UEDataset, true,
UGLayer::UG_Layer_Normal, _U("pointLayer"));
UGGeoPoint* geopoint = new UGGeoPoint;
UGStyle* BsStyle = new UGStyle;
UGStyle* UEStyle = new UGStyle;
UGStyle* MapStyle = new UGStyle;