查看单个帖子
旧 2009-05-07, 04:39 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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*):drxalloc(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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)