P
Phelan
Unregistered / Unconfirmed
GUEST, unregistred user!
请问在bcb6中的any2variant。cpp中的SAFEARRAYToAny函数的用法是不是有变化,为什么
OleVariant varError=p->ApplyUpdates(anyDelta,-1,count);
CORBA::Any_var anyError=SAFEARRAYToAny(varError);
…………
会有,
[C++ Error] DAgentImpl.cpp(31): E2034 Cannot convert ''const CORBA_Any'' to ''tagVARIANT''
[C++ Error] DAgentImpl.cpp(31): E2342 Type mismatch in parameter ''va'' (wanted ''tagVARIANT'', got ''CORBA_Any'')
…………
OleVariant varError=p->ApplyUpdates(anyDelta,-1,count);
CORBA::Any_var anyError=SAFEARRAYToAny(varError);
…………
会有,
[C++ Error] DAgentImpl.cpp(31): E2034 Cannot convert ''const CORBA_Any'' to ''tagVARIANT''
[C++ Error] DAgentImpl.cpp(31): E2342 Type mismatch in parameter ''va'' (wanted ''tagVARIANT'', got ''CORBA_Any'')
…………