Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

COM from scratch - PART TWO

, 17 Apr 2004
An article about COM Library.
demoapp.zip
ComDemo.exe
demoappsource.zip
ComDemo
ComDemo.clw
ComDemo.dsp
ComDemo.dsw
Comp1
Comp1.clw
Comp1.def
Comp1.dsp
Comp1.dsw
Debug
icon1.ico
Release
res
Comp2
Comp2.clw
Comp2.def
Comp2.dsp
Comp2.dsw
Debug
Release
res
Comp3
Comp3.clw
Comp3.def
Comp3.dsp
Comp3.dsw
Debug
res
Debug
Release
res
bitmap1.bmp
bitmap2.bmp
bitmap3.bmp
bitmap4.bmp
bitmap5.bmp
bitmap6.bmp
bitmap7.bmp
bitmap8.bmp
bitmap9.bmp
bmp00001.bmp
bmp00002.bmp
bmp00003.bmp
bmp00004.bmp
bmp00005.bmp
bmp00006.bmp
butterfl.ico
com.bmp
ComDemo.ico
ComDemoDoc.ico
ico00001.ico
ico00002.bmp
ico00002.ico
ico00003.ico
ico00004.ico
icon1.ico
Toolbar.bmp
parttwosources.zip
part_two
part_two_client
Debug
part_two_client.dsp
part_two_client.dsw
part_two_component
component.def
Component.dll
MAKEFILE
part_two_improved_client_server
client
client.dsp
client.dsw
Debug
Component
Component.clw
Component.def
Component.dsp
Component.dsw
Debug
Component.dll
res
part_two_rebuildproblem
client
client.dsp
client.dsw
Debug
DLL.dll
DLL
Debug
DLL.dsp
DLL.dsw
//{{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

Share

About the Author

Aria Ansari
Software Developer
Denmark Denmark
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Apr 2004
Article Copyright 2004 by Aria Ansari
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid