几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】loading complex linetypes (http://www.dimcax.com/hust/showthread.php?t=17111)

yang686526 2009-05-06 05:15 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 06:00 PM.