几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】odrxobjectoperator new no overloaded function takes 3 p (http://www.dimcax.com/hust/showthread.php?t=17757)

yang686526 2009-05-06 09:07 PM

【转帖】odrxobjectoperator new no overloaded function takes 3 p
 
'odrxobject::operator new' :no overloaded function takes 3 p
'odrxobject::operator new' :no overloaded function takes 3 parameters
dear everyone!
please help me....
i do have a favor to ask you.
i used....next function....
implement_dyncreate(cautocaddoc, cdocument)
#define new_constr(class) odsmartptr<class>(new class, kodrxobjattach)
odrx_cons_define_members(oddbdatabasedoc, oddbdatabase, new_constr);
cautocaddoc* oddbdatabasedoc::g_pdoc = 0;
but....an error occurred while compiled.
< error c2661 : 'odrxobject:perator new' :no overloaded function takes 3 parameters >fff"> in odrx_cons_define_members(oddbdatabasedoc, oddbdatabase, new_constr);
we would appreciate it if you could check into this matter.
thank you!
last edited by kjnoh; 6th november 2006 at 06:12 pmfff">.
do not define debug_new in the files where you declare odrx_cons_define_members, or define it after the declaration
vladimir
thanks
quote:
originally posted by wvk
do not define debug_new in the files where you declare odrx_cons_define_members, or define it after the declaration
thank you for, your help.


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