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

yang686526 2009-05-07 04:39 PM

【转帖】esting Dwg Direct Library 2.7 Beta
 
testing dwg direct library 2.7 beta
testing dwg direct library 2.7 beta
when using the vc9md libraries i get the following error (note: vc9mdd works fine):
windows has triggered a breakpoint in project1.exe.
line 549 in odarray.h:
code:
buffer* pbuffer = (buffer*)::odrxalloc(nbytes2allocate);this happens after making several calls of function (with different data):
code:
oddbspline::getnurbsdata()when i compile the app using vc9md libs these warnings appear (i wonder if this is related):
code:
odarray.h(872) : while compiling class template member function 'double *odarray<t,a>::insert(double *,unsigned int,const t &)'
2> with
2> [
2> t=double,
2> a=odmemoryallocator<double>
2> ]
gecurve3d.h(666) : see reference to class template instantiation 'odarray<t,a>' being compiled
2> with
2> [
2> t=double,
2> a=odmemoryallocator<double>
2> ]
last edited by billyaraujo@gmail.com; 11th december 2008 at 09:04 amfff">.
how exactly can we reproduce the problem?
(perhaps you can attach a file and a code sample)
vladimir
i don't know how to send a simple code to replicate this error either.
i call:
oddbspline::setfitdata
oddbspline::getnurbsdata
odgigeometrysimplifier::nurbsproc
i am using a opengl viewer to move fitpoints around the screen. then it has an option to retrieve nurbsdata and vectorizes the spline using nurbsproc.
with the vc9mdd it works fine, with the vc9md it produces an error only after some time moving around the points with the getnurbsdata option active.
was it working correctly in the previous version?
vladimir
actually i didn't try this with the previous version.


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