高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|