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

yang686526 2009-05-07 05:39 PM

【转帖】unhandled Exception With Oddbentity-dumper
 
unhandled exception with oddbentity_dumper
unhandled exception with oddbentity_dumper
i'm just a beginner to using the direct libraries. im trying to use some of the odreadex code in a vc++ mfc test application.
specifically the dumping code. so far ive attached the necessary code to my project from odreadex and am experiencing an unhandled exception in the kernel32.dll.
this occurs in dbdumper::dumpentity (dbdumper.cpp)
at the line "odsmartptr<oddbentity_dumper> pentdumper = pent;"
since ive got it working using the odreadex.dsw, i dont really understand why it doesnt work in my workspace.
help much appreciated.
found the problem. wasnt initialising the protocolextension objects. when i did it worked like a charm.
no help needed now thanks.


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