Click here to Skip to main content
15,886,798 members
Articles / Programming Languages / C++

COM from scratch - PART TWO

Rate me:
Please Sign up or sign in to vote.
4.85/5 (44 votes)
17 Apr 200414 min read 226.5K   6K   134  
An article about COM Library.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ComDemo.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_COMDEMTYPE                  129
#define IDB_BITMAP1                     162
#define ID_ADDREF                       32776
#define ID_RELEASE                      32777
#define ID_DEFINEWND                    32783
#define ID_ICOMPONENT1_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDIUNKNOWNVOIDG 32785
#define ID_ICOMPONENT1_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDICOMPONENT1VOID 32786
#define ID_SHOWBG                       32787
#define ID_QUERYITSELF                  32788
#define ID_ICOMPONENT1_MENUITEMNOTSELECTED 32789
#define ID_NIGHT                        32790
#define ID_ADDREF2                      32791
#define ID_RELEASE2                     32792
#define ID_ICOMPONENT2_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDIUNKNOWVOIDGPIUNKNOWN2 32793
#define ID_ICOMPONENT2_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDICOMPONENT2VOIDGPICOMPONENT2 32794
#define ID_DEFINEWND2                   32795
#define ID_SHOWBG2                      32796
#define ID_ICOMPONENT2_MENUITEMNOTSELECTED 32797
#define ID_FLY                          32798
#define ID_STOPFLY                      32798
#define ID_STARTFLY                     32799
#define ID_COMP1                        32805
#define ID_COMP2                        32806
#define ID_COMP3                        32807
#define ID_ICOMPONENT3_IUNKNOWN_QUERYINTERFACE_QERYINTERFACEIIDIUNKNOWVOID 32814
#define ID_ICOMPONENT3_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDICOMPONENT1VOID 32815
#define ID_ICOMPONENT3_IUNKNOWN_QUERYINTERFACE_QUERYINTERFACEIIDICOMPONENT2VOIDPICOMPONENT2 32816
#define ID_ICOMPONENT3_DEFINEWINDOWCOM3 32818
#define ID_ICOMPONENT3_SHOWWNDBACKGROUNDCOM3COLORREFBGCOLOR 32819
#define ID_ICOMPONENT3_QUERYITSELF3     32820
#define ID_ICOMPONENT3_MENUITEMNOTSELECTED3 32821
#define ID_ICOMPONENT3_INIT             32822
#define ID_COMP3_ADDREF                 32830
#define ID_COMP3_RELEASE                32831
#define ID_HOW_COPM1                    32833
#define ID_SHOW                         32834
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_QUERYINTERFACE_QUERYINTERFACE 32837
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_ADDREF_ADDREF 32838
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_RELEASE_RELEASE 32839
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_DEFINEWINDOWCOM1_DEFINEWINDOWCOM1 32840
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_SHOWWNDBACKGROUNDCOM1_SHOWWNDBACKGROUNDCOM1 32841
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_QUERYITSELF1_QUERYITSELF1 32842
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_MENUITEMNOTSELECTED1_MENUITEMNOTSELECTED1 32843
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_ICOMPONENT1VTBLPOINTER_NIGHT_NIGHT 32844
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_MCREF 32845
#define ID_COMPONENT1_MEMORYFORMATASSOCIATEDWITHCCOMPONENT1_CCOMPONENT1THIS_MPWND 32846

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        164
#define _APS_NEXT_COMMAND_VALUE         32848
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#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.

License

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


Written By
Software Developer
Denmark Denmark
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions