Click here to Skip to main content
15,886,110 members
Articles / Desktop Programming / Win32

A Simple Yet Debuggable COM Skeleton Code

Rate me:
Please Sign up or sign in to vote.
4.91/5 (50 votes)
9 Nov 200215 min read 242.9K   2.5K   115  
Tutorial showing how to build COM components from scratch (DLL, EXE, automation)
In this article, you will learn how to write working COM components from scratch, and without a single macro.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by TESTSIMPLECOMSERVER.RC
//
#define IDR_MAINFRAME					128
#define IDM_ABOUTBOX					0x0010
#define IDD_ABOUTBOX					100
#define IDS_ABOUTBOX					101
#define IDD_TESTSIMPLECOMSERVER_DIALOG				102

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS

#define _APS_NEXT_RESOURCE_VALUE	129
#define _APS_NEXT_CONTROL_VALUE		1000
#define _APS_NEXT_SYMED_VALUE		101
#define _APS_NEXT_COMMAND_VALUE		32771
#endif
#endif

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.


Written By
France France
Addicted to reverse engineering. At work, I am developing business intelligence software in a team of smart people (independent software vendor).

Need a fast Excel generation component? Try xlsgen.

Comments and Discussions