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

yang686526 2009-05-04 03:23 PM

【转帖】about the createdevice90
 
about the "createdevice()"
about the "createdevice()"
i am seeing the example "singledoc" of the dwgdirect1.13 doc. i write a project named "singledoct"just like the example "singledoc" .the compile is passed,but when run this sentence "return m_pgs->createdevice();",it throw a error that is "unhandle exception in singledoct.exe: oxc00000005 : access violation."
i don't know how to reslove this problem and what the concept of "device" is.
is "device" here the same as the "device" in vc++?
please help me reslove this problem.thankes!


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