Click here to Skip to main content
Click here to Skip to main content

Understanding The COM Single-Threaded Apartment Part 2

By , 18 Feb 2005
 
ccomthread2_src.zip
Shared
SimpleCOMObject1
SimpleCOMObject1.def
SimpleCOMObject1.dsp
SimpleCOMObject1.dsw
SimpleCOMObject1.rgs
SimpleCOMObject1.tlb
SimpleCOMObject1ps.def
SimpleCOMObject1ps.mk
SimpleCOMObject2
SimpleCOMObject2.def
SimpleCOMObject2.dsp
SimpleCOMObject2.dsw
SimpleCOMObject2.rgs
SimpleCOMObject2.tlb
SimpleCOMObject2ps.def
SimpleCOMObject2ps.mk
Test Programs
VBTest
FormMain.frm
VBTest.exe
VBTest.vbp
VBTest.vbw
VCTests
DemonstrateSTAInterThreadMarshalling
VCTest01
SimpleCOMObject2.tlh
SimpleCOMObject2.tli
VBSTACOMObj.tlh
VBSTACOMObj.tli
VCTest01.dsp
VCTest01.dsw
VCTest02
VCTest02.dsp
VCTest02.dsw
VBSTACOMObj
VBSTACOMObj.cls
VBSTACOMObj.dll
VBSTACOMObj.exp
VBSTACOMObj.lib
VBSTACOMObj.vbp
VBSTACOMObj.vbw
/* this file contains the actual definitions of */
/* the IIDs and CLSIDs */

/* link this file in with the server and any clients */


/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Jan 13 00:21:30 2005
 */
/* Compiler settings for D:\Limbl\Develope\CodeProject\CCOMThread\SimpleCOMObject2\SimpleCOMObject2.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )
#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __IID_DEFINED__
#define __IID_DEFINED__

typedef struct _IID
{
    unsigned long x;
    unsigned short s1;
    unsigned short s2;
    unsigned char  c[8];
} IID;

#endif // __IID_DEFINED__

#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED

const IID IID_ISimpleCOMObject2 = {0x8144D7D0,0x4516,0x4B64,{0xAA,0xE7,0xFA,0x27,0x6C,0x94,0xD8,0x70}};


const IID LIBID_SIMPLECOMOBJECT2Lib = {0x583B22E4,0x9E01,0x4FD3,{0xB0,0xCE,0xDD,0x75,0x91,0x65,0x54,0xBE}};


const IID DIID__ISimpleCOMObject2Events = {0x02CE2476,0x7F6D,0x4699,{0x96,0xD2,0x17,0xFF,0x53,0x75,0x82,0x21}};


const CLSID CLSID_SimpleCOMObject2 = {0x993B1ECD,0x61D0,0x41D3,{0xA4,0xA9,0x29,0x3F,0xB4,0x7F,0x83,0xFF}};


#ifdef __cplusplus
}
#endif

By viewing downloads associated with this article you agree to the Terms of use 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 Code Project Open License (CPOL)

About the Author

Lim Bio Liong
Web Developer
Singapore Singapore
Lim Bio Liong is a Specialist at a leading Software House in Singapore.
 
Bio has been in software development for over 10 years. He specialises in C/C++ programming and Windows software development.
 
Bio has also done device-driver development and enjoys low-level programming. Bio has recently picked up C# programming and has been researching in this area.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130617.1 | Last Updated 19 Feb 2005
Article Copyright 2005 by Lim Bio Liong
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid