![]() |
【转帖】setuplayoutviews
setuplayoutviews
setuplayoutviews in the single doc project, if i change the line below as follows, i get an access violation in the dd1.13, i was wondering if this is the correct thing to do or not. m_pdevice = oddbgsmanager::setupactivelayoutviews(m_pdevice, this); to. m_pdevice = ddbgsmanager::setuplayoutviews(theapp.m_pdb->getmodelspaceid(), m_pdevice, this); the access violations is at this actuall call. cheers jason 1. first parameter of setuplayoutviews is oddbobjectid of layout. oddbdatabase::getmodelspaceid() returns the oddbobjectid of model space block. 2. access violation is possible if theapp.m_pdb is null, for example. sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 05:40 AM. |