After to create a new MSHTML Com component in my VP 7.3 project, I've this type of error :
How to solve it ?
mshtml\export\dispHTMLDocument_export.pro(246,20) error c504: The expression has type 'comDomains::variant', which is incompatible with the type 'comDomains::comVariant'
Code: Select all
% dispHTMLDocument_impl.i :
predicates
get_AlinkColor : (comDomains::comVariant HResult) -> core::hResult HResult procedure (o) language stdcall.
predicates
dispHTMLDocument_get_AlinkColor : () -> comDomains::variant Value.
% dispHTMLDocument_export.pro :
clauses
get_AlinkColor(Value) = VipHR000 :- % !!! error here on Value
try
Value = implementation_fact:dispHTMLDocument_get_AlinkColor(),
VipHR000 = winErrors::s_ok
catch TraceId do
VipHR000 = catchHandler(TraceId)
end try.
% dispHTMLDocument_native_binary.i :
predicates
get_AlinkColor : (comDomains::comVariant HResult) -> core::hResult HResult procedure (o) language stdcall.