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

loading complex linetypes
loading complex linetypes
hi there
i'm having troubles loading linetype file with complex linetypes.
code:
pdb->loadlinetypefile( dd_t("*"), odstring( filename.tolatin1() ),
oddb::kdltignore );the problem is that loadlinetypefile(..) earlier called oddbhostappservices::findfile(..) when it tried to find the shape file the linetypes use, but now the findfile(..) won't get called at all. i initially re-implemented the findfile() method and haven't touched it since.
the code worked with dwgdirect version 2.5.2 and vs2003 but now i have tried both dwgdirect 2.5.2 and 2.6.1 with vs2005, and no luck.
i have tried to load the linetype file into autocad 2008 and with odamfcapp and both worked fine, so i'm quite convinced that the problem is not in my linetype file.
could this be a bug in vs2005 versions or any other hints?
thanks
janne koilo
check 'findfile' signature, perhaps it has changed.
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)