查看单个帖子
旧 2009-05-06, 09:07 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odrxobjectoperator new no overloaded function takes 3 p

'odrxobject:perator new' :no overloaded function takes 3 p
'odrxobject:perator 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 : 'odrxobjecterator 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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)