View Single Post
  #1  
Old December 2nd 09, 01:00 PM posted to microsoft.public.outlook.program_addins
KarthikonIT via OfficeKB.com
external usenet poster
 
Posts: 14
Default cannot instantiate abstract class - Compiler error.

Hi,
I have created a plugin for Outlook, I want add ribbon controls to my
existing OUtlook plugin.
When I Implement "IRibbonExtensibility" Interface in the class that was
implemented "_IDTExtensibility2" Interface it throws
up the following error message


ATL::CComObjectBase' : cannot instantiate abstract class
with
[
Base=CGrabExplorer
]
due to following members:
'HRESULT Office::IRibbonExtensibility::raw_GetCustomUI(BSTR ,BSTR *)' :
is abstract


I have implemented "GetCustomUI" API and returning S_OK


How do i resolve this?

Thanks in Advance.

--
Message posted via http://www.officekb.com

Ads