Hi!
I'm doing an upgrade from Nav 5 to Nav2009 R2 and I have the following problem:
In some objects I use methods from an OCX developed by one of my colleagues. On classic client work fine, but when I try to use it on RTC client, I receive the following error:
"This message is for C/AL programmers: The call to member [...] failed: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))."
I receive this error for any method that I call. The OCX is created in Visual C++. Can anyone tell me what is wrong with the OCX or in what way must be created to work?
I use windows 7 with all updates.
Thank You!
Comments
Create(someAutomationVariable,True/False(New Server),True/False (Run on Client));
Example:
CLEAR(WshShell);
IF ISCLEAR(WshShell) THEN
CREATE(WshShell,FALSE,ISSERVICETIER);
Have you checked this?
Regards,
egnaz
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
In the moment I don't know a workaround for your OCX problem. Maybe you have to redesign it to work with DotNet DataType.
Regards,
egnaz