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

sheetset example
sheetset example
the latest dwgdirect 1.12 can read sheetset. i have find a example in the exmaple folder,that is odsheetset.
the project file is jamfile, i don't know how to compile it in windows os. so i create an empty win32 project for odsheetset.
everythins is ok until the link, there are several link errors as following:
--------------------------------------------------------------------------
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst:dsmdblayoutreference::g_pdesc" (?g_pdesc@odsmdblayoutreference@dst@@2pavodrxclass @@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst:dsmsheet::g_pdesc" (?g_pdesc@odsmsheet@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst:dsmsubset::g_pdesc" (?g_pdesc@odsmsubset@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst:dsmsheetsetmgr::g_pdesc" (?g_pdesc@odsmsheetsetmgr@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst:dsmpersist::g_pdesc" (?g_pdesc@odsmpersist@dst@@2pavodrxclass@@a)
================================================== =
os: windows 2000 professional
vc6.0 with sp5.
anybody help?
thanks!
you need to link with dd_vc6md_sm.lib
sergey slezkin
are there no dsp at:
".\projectfiles\win32\msvc6\examples\odsheetse t\"
?
quote:
originally posted by sergey slezkin
you need to link with dd_vc6md_sm.lib
it works now! thanks!
quote:
originally posted by wvk
are there no dsp at:
".\projectfiles\win32\msvc6\examples\odsheetse t\"
?
if you have jam ,you can compile the jamfile, which is the project file
quote:
originally posted by sergey slezkin
you need to link with dd_vc6md_sm.lib
by the way ,when will opendwg support the write of sheetset? and is there any document about dst file format?
well, writing sheetsets is implemented, but not tested thoroughly.
in the sample see functions "modifydatabase" and "savedatabase".
you may try it and if you find any bugs - report them, this will greatly speed up official write support.
quote:
originally posted by wvk
well, writing sheetsets is implemented, but not tested thoroughly.
in the sample see functions "modifydatabase" and "savedatabase".
you may try it and if you find any bugs - report them, this will greatly speed up official write support.
that's great ! we'll try it!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)