![]() |
【转帖】help--请教各位高手
help--请教各位高手
help--请教各位高手 代码如下: acdbdatabase *pcurdb = null; pcurdb = acdbhostapplicationservices()->workingdatabase(); pcurdb->getlayertable(plyrtable, acdb::kforwrite); // check to see if the layer name exists // note how we can change the open mode // of the layer table from acdb::kforread // to acdb::kforwrite // plyrtable->upgradeopen(); plyrtblrecord = new acdblayertablerecord; plyrtblrecord->setname("answer"); plyrtblrecord->setcolor(color); plyrtblrecord->setlinetypeobjectid(ltypeid); plyrtable->add(plyrtblrecord); } 当执行到 plyrtable->add(plyrtblrecord);时, cad中总是出现未处理异常。。。(access violation reading 0xcccccccc),地址5ef287ch。麻烦各位大侠帮忙解决一下 qq:371637932 plyrtable还没有关闭 change your life style. 不好意思,已经关闭了,只是没有传上来,谢谢 |
所有的时间均为北京时间。 现在的时间是 05:55 AM. |