Click here to Skip to main content
15,883,731 members
Articles / Desktop Programming / MFC

ProjectZip Remoded 1.6 - A '3-in-1' tools package for zipping VC6 and .NET workspace and project files

Rate me:
Please Sign up or sign in to vote.
4.87/5 (40 votes)
31 Mar 2004CC (ASA 2.5)5 min read 165.6K   3.7K   52  
Zip your VC6 and .NET workspace and project files using a Standalone Executable, an Explorer shell extension or an updated VC6 Addin
// DSAddIn.h : header file
//

#if !defined(AFX_DSADDIN_H__F4831A7F_8DB7_4681_BDE9_A07F1FCE2A5D__INCLUDED_)
#define AFX_DSADDIN_H__F4831A7F_8DB7_4681_BDE9_A07F1FCE2A5D__INCLUDED_

#include "commands.h"

// {00B25757-17E0-4384-ABC9-FC189FAD7468}
DEFINE_GUID(CLSID_DSAddIn,
0xb25757, 0x17e0, 0x4384, 0xab, 0xc9, 0xfc, 0x18, 0x9f, 0xad, 0x74, 0x68);

/////////////////////////////////////////////////////////////////////////////
// CDSAddIn

class CDSAddIn : 
	public IDSAddIn,
	public CComObjectRoot,
	public CComCoClass<CDSAddIn, &CLSID_DSAddIn>
{
public:
	DECLARE_REGISTRY(CDSAddIn, "ProjectZip.DSAddIn.1",
		"PROJECTZIP Developer Studio Add-in", IDS_PROJECTZIP6ADDIN_LONGNAME,
		THREADFLAGS_BOTH)

	CDSAddIn() {}
	BEGIN_COM_MAP(CDSAddIn)
		COM_INTERFACE_ENTRY(IDSAddIn)
	END_COM_MAP()
	DECLARE_NOT_AGGREGATABLE(CDSAddIn)

// IDSAddIns
public:
	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__F4831A7F_8DB7_4681_BDE9_A07F1FCE2A5D__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.

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License


Written By
Software Developer Maptek
Australia Australia
.dan.g. is a naturalised Australian and has been developing commercial windows software since 1998.

Comments and Discussions