查看单个帖子
旧 2009-05-06, 03:44 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】importing dwf file fails in 2.7.1

importing dwf file fails in 2.7.1
importing dwf file fails in 2.7.1
our application allows importing of dwf files. this worked fine with release 2.6.1. it does not work with 2.7.1.
specifically, the following is no longer working:
oddwfimportptr importer = createimporter();
with 2.7.1, an importer is not created. has something changed with this?
nothing has changed as far as i know.
which compiler do you use?
static or dynamic libraries?
vladimir
i'm using static libs with vs2003.
i think i found the problem. apparently the dwf import stuff is now in a static application module, so adding the following seems to have resolved the issue:
odrx_declare_static_module_entry_point(dwf7importm odule);
odrx_define_static_appmodule(l"dd_dwf7import.drx", dwf7importmodule)
it would have been nice to mention this in the release notes since it requires a change to client applications.
actually dwf import is dynamic module from the start, but you are right - there were some subtle changes that made the code that worked to stop working.
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)