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

loaddwg drawdwg (help!)
loaddwg drawdwg (help!)
we recently joined the open design alliance as associate member for the purpose of being able to load and display (2d) dwg files in our "dredging support software". looking at the example program (odamfcapp) thus far this seems te be "somewhat" difficult to do. i need to be able to create a class (let's call it dwg), an instantiation of which can load a (dwg) file (dwg::loaddwg(lpctstr)) and then various threads can access the object and have it draw it's contents onto a memory dc (dwg:: draw(hdc hmemdc)) without erasing the background. i should be able to find out how to do this, but i am sure this will take quite some effort on my part while it seems probable that somebody has already done something similar and can show me how to do this. in the example mentioned above the dwg support is very much integrated into the application, view and document classes which for my purpose is not desirable, it needs to be a standalone class.
so if somebody can show me how to achieve the described objectives i would be most gratefull.
regards,
jeroen posch.
van oord dredging and marine constructors.

dear jeroen,
i think good start point for you is our singledoc sample.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)