int a = 5;int b = 6; int sum = 0;double sumDouble = 0;sumdll.sumdllClass sdc = new sumdll.sumdllClass();sumDouble = sdc2.sumdll(ref a, ref b, ref sum);
Unable to cast COM object of type 'sumdll.sumdllClass' to interface type 'sumdll.Dsumdll'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3DC9FCBA-9E72-49AA-B597-F9B2603D5EEA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
sumdll.sumdllClass sdc = new sumdll. Dsumdll which is an interface Sumdll which is an interface sumdllClas which is a class
sumDouble = sdc2.sumdll( ref int input1, ref int input2, ref @input)