Hi,
My .Net application call a COM Class method. The signature of COm method is
object get_Item(ref object Key);
This method had defined in "NCR.APTRA.AXFS " namespace
and I Have "formList" of Type "NCR.APTRA.AXFS .IXFSDictionary "
Here i am getting an exception with the below statement
NCR.APTRA.AXFS. XFSGenericPrint Form formObj =
(NCR.APTRA.AXFS .XFSGenericPrin tForm)formList. get_Item(ref formNameObject) ;
Exception Details:
===========
Unable to cast COM object of type 'System.__ComOb ject' to interface type
'NCR.APTRA.AXFS .XFSGenericPrin tForm'. This operation failed because the
QueryInterface call on the COM component for the interface with IID
'{B9EEACF8-6552-4E85-9069-D58160BC40FF}' failed due to the following error:
No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE) ).
Please can anyone help me to resolve.
Thanks & Regards,
Karimulla.
My .Net application call a COM Class method. The signature of COm method is
object get_Item(ref object Key);
This method had defined in "NCR.APTRA.AXFS " namespace
and I Have "formList" of Type "NCR.APTRA.AXFS .IXFSDictionary "
Here i am getting an exception with the below statement
NCR.APTRA.AXFS. XFSGenericPrint Form formObj =
(NCR.APTRA.AXFS .XFSGenericPrin tForm)formList. get_Item(ref formNameObject) ;
Exception Details:
===========
Unable to cast COM object of type 'System.__ComOb ject' to interface type
'NCR.APTRA.AXFS .XFSGenericPrin tForm'. This operation failed because the
QueryInterface call on the COM component for the interface with IID
'{B9EEACF8-6552-4E85-9069-D58160BC40FF}' failed due to the following error:
No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE) ).
Please can anyone help me to resolve.
Thanks & Regards,
Karimulla.
Comment