查看单个帖子
旧 2009-05-04, 06:05 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)