|
// DSAddIn.h : header file
//
#if !defined(AFX_DSADDIN_H__8D0C5D56_FDC1_447A_8116_52022C798145__INCLUDED_)
#define AFX_DSADDIN_H__8D0C5D56_FDC1_447A_8116_52022C798145__INCLUDED_
#include "commands.h"
// {E6E5DFB0-96C4-4960-9498-0F13D730F68F}
DEFINE_GUID(CLSID_DSAddIn,
0xe6e5dfb0, 0x96c4, 0x4960, 0x94, 0x98, 0xf, 0x13, 0xd7, 0x30, 0xf6, 0x8f);
/////////////////////////////////////////////////////////////////////////////
// CDSAddIn
class CDSAddIn :
public IDSAddIn,
public CComObjectRoot,
public CComCoClass<CDSAddIn, &CLSID_DSAddIn>
{
public:
DECLARE_REGISTRY(CDSAddIn, "CPPCWiz.DSAddIn.1",
"CPPCWIZ Developer Studio Add-in", IDS_CPPCWIZ_LONGNAME,
THREADFLAGS_BOTH)
CDSAddIn() {}
BEGIN_COM_MAP(CDSAddIn)
COM_INTERFACE_ENTRY(IDSAddIn)
END_COM_MAP()
DECLARE_NOT_AGGREGATABLE(CDSAddIn)
// IDSAddIns
public:
CString ReadRegForPath(BOOL bFirstTime);
STDMETHOD(OnConnection)(THIS_ IApplication* pApp, VARIANT_BOOL bFirstTime,
long dwCookie, VARIANT_BOOL* OnConnection);
STDMETHOD(OnDisconnection)(THIS_ VARIANT_BOOL bLastTime);
protected:
CCommandsObj* m_pCommands;
DWORD m_dwCookie;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DSADDIN_H__8D0C5D56_FDC1_447A_8116_52022C798145__INCLUDED)
|
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 article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
A 8 or something in .NET, living in Ahmedabad, India owned IntelliPro Solutions Pvt. Ltd..
Currently working on .NET technologies, MVC and Silverlight.
My little blog is for helping community with the solution for problems or helping them to understand new technology. You can reach to my blog at http://maniish.wordpress.com.
To contact me, post comment here or email me at manish AT iprospl.com