|
// xmlrsobj.h : Declaration of the Cxmlrsobj
#ifndef __XMLRSOBJ_H_
#define __XMLRSOBJ_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// Cxmlrsobj
class ATL_NO_VTABLE Cxmlrsobj :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<Cxmlrsobj, &CLSID_xmlrsobj>,
public IDispatchImpl<Ixmlrsobj, &IID_Ixmlrsobj, &LIBID_XMLRSLib>
{
public:
Cxmlrsobj()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_XMLRSOBJ)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(Cxmlrsobj)
COM_INTERFACE_ENTRY(Ixmlrsobj)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
// Ixmlrsobj
public:
STDMETHOD(ConnectDB)(/*[in]*/ BSTR bstrConn);
STDMETHOD(GetXmlrs)(/*[out, retval]*/ BSTR * bstrXmlrs);
STDMETHOD(CloseDB)(void);
};
#endif //__XMLRSOBJ_H_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.