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

yang686526 2009-05-04 04:10 PM

【转帖】are there memory leak in exportdwf function
 
are there memory leak in exportdwf function ?
are there memory leak in exportdwf function ?
if use function "exportdwf" in odamfcappdoc when i exit from application my compiler detected memory leaks. i use ms visual c 6. is a problem of my compiler? it is only if i export :
params.format = dw_uncompressed_binary;
params.version = ndwf_v60;
or
params.format = dw_ascii;
params.version = ndwf_v60;
last edited by rareba; 2nd march 2006 at 09:23 amfff">.
in oddwfexportex sample is correct this:
if (!strcmp(argv[3],"b6"))
{
params.format = dw_uncompressed_binary;
params.version = ndwf_v60;
pagedata.slayout = m_pdb->findactivelayout(true);
params.arpagedata.append(pagedata);
}
?


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