几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】using A Dwgdirect Dll With A Dwgdirect App (http://www.dimcax.com/hust/showthread.php?t=18944)

yang686526 2009-05-07 06:02 PM

【转帖】using A Dwgdirect Dll With A Dwgdirect App
 
using a dwgdirect dll with a dwgdirect app
using a dwgdirect dll with a dwgdirect app
hello,
is it possible to create or read a database in an application, then call an exported function, in a dll, that take this database in parameter and add entities to this database ?
i am trying to develop an application that can load libraries like autocad can load arx.
i think that odamfcappdll is the good example. in this application we can load an application with .drx or .dll extention, there is no example of a drx application, can i try to make one or is it too earlier ?
i found (not easily) a drx application "excustobjs_dll.dsp" and i test it with odamfcappdll, it works really fine !
that's what i want to do !
can i use it ?
dynamic loading support was added to 1.10 update as a beta feature.
you can use excustobjs as a sample for custom entities and objects. commands stuff will be sligtly changed in next release.
you'll also have to rebuild your drx dll to run it with new dwgdirect version.
sergey slezkin
it will not a be problem for me, to rebuild my drx dll with the new dwgdirect version.
for the moment i am just trying to add an extention for my dwgdirect application and excustobjs_dll is a good sample !


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