dataset ^dsupdate;
dsupdate=drResult->GetChanges();
if(dsupdate!=%) getchange()方法返回值为 null引用时(空值),%那里该是什么?
试了很多种都不对,如果是null报异常。无法用。
------解决方案--------------------------------------------------------
if(dsupdate)//不是null
{
}
else //是null
{
}
------解决方案--------------------------------------------------------
- C/C++ code
if(dsupdate!=NULL)
------解决方案--------------------------------------------------------
托管要用
if(dsupdate!=nullptr)