几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】connection to dwgdirect lib question (http://www.dimcax.com/hust/showthread.php?t=15456)

yang686526 2009-05-04 06:05 PM

【转帖】connection to dwgdirect lib question
 
connection to dwgdirect lib question
connection to dwgdirect lib question
hi all,
sorry if a stupid question, but i simply hadn't experienced such thing before:
i'm using msvc++ 6.0
when we use usually some library or sdk, we're given libs, dlls and headers.
when i made an exe or a dll to use the dwgdirect library, there's no dll and i link to the lib files and the dll or exe becomes nore than 3mb in release version.
may be it's too evident c++ topic, but can someone explain with a few words how to make a dll that uses dwgdirect lib and other modules to use this dll without making them so large (without directly using the lib file)
thanks in advance for any help
regards
chudo
best regards
chudomir

vesion 1.02 (posted last friday) includes a dll version of dwgdirect for msvc6.


thanks for the info - i've downloaded them but receive unresolved externals -
[code]error lnk2001: unresolved external symbol "protected: static struct odemptystringdata odstring::kemptydata" (?kemptydata@odstring@@1uodemptystringdata@@a)
error lnk2001: unresolved external symbol "public: static class odrxclass * oddbobject::g_pdesc" (?g_pdesc@oddbobject@@2pavodrxclass@@a)
error lnk2001: unresolved external symbol "public: static class odrxclass * oddbdictionary::g_pdesc" (?g_pdesc@oddbdictionary@@2pavodrxclass@@a)
error lnk2001: unresolved external symbol "public: static class odrxclass * odstreambuf::g_pdesc" (?g_pdesc@odstreambuf@@2pavodrxclass@@a)
</pre><hr></blockquote>
i insert the dd_vc6.lib file in the project and place the output in a same directory as dd_vc6.dll
are there some additional items that are needed to do?
thanks in advance for the help.
regards
chudomir
best regards
chudomir


所有的时间均为北京时间。 现在的时间是 04:08 AM.