- // work.cpp : Implementation of CExApp and DLL registration.
- #include "stdafx.h"
- #include "ex.h"
- #include "work.h"
- /////////////////////////////////////////////////////////////////////////////
- //
- STDMETHODIMP work::InterfaceSupportsErrorInfo(REFIID riid)
- {
- static const IID* arr[] =
- {
- &IID_Iwork,
- };
- for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
- {
- if (InlineIsEqualGUID(*arr[i],riid))
- return S_OK;
- }
- return S_FALSE;
- }