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

yang686526 2009-05-04 03:28 PM

【转帖】access database in exgsdirectxdevice
 
access database in exgsdirectxdevice
access database in exgsdirectxdevice
hello,
i have been adapting the exgsdirectxdevice codes for our use.
though accessing database in the codes,
i can not find even a similar case.
thanks.
you can use odgicontect* odgsdevice::usergicontext(),
cast the pointer to odgicontextfordbdatabase* and get database from it.
sergey slezkin
thank you for your reply.
can i use "odgsdevice::usergicontext()" only after "setusergicontext()"?

setusergicontext() is called within dwgdirect rendering framework, in oddbgsmanager's functions (setupactivelayoutviews, setuplayoutviews).
sincerely yours,
george udov


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