- ccomthread_src.zip
- LegacyCOMObject1
- Shared
- SimpleCOMObject1
- SimpleCOMObject2
- Test Programs
- VBTest
- VCTests
- DemonstrateDefaultSTA
- VCTest01
- main.cpp
- SimpleCOMObject2.tlh
- SimpleCOMObject2.tli
- VCTest01.dsp
- VCTest01.dsw
- VCTest02
- main.cpp
- SimpleCOMObject2.tlh
- SimpleCOMObject2.tli
- VCTest02.dsp
- VCTest02.dsw
- DemonstrateExeServerSTA
- Client
- VCTest01
- Implementation
- ExeServerImpl
- Interface
- ExeServerInterfaces
- DemonstrateLegacySTA
- VCTest01
- LegacyCOMObject1.tlh
- LegacyCOMObject1.tli
- main.cpp
- VCTest01.dsp
- VCTest01.dsw
- VCTest02
- DemonstrateNoMessageLoop
- VCTest01
- main.cpp
- SimpleCOMObject2.tlh
- SimpleCOMObject2.tli
- VCTest01.dsp
- VCTest01.dsw
- DemonstrateSTA
- VCTest01
- main.cpp
- SimpleCOMObject2.tlh
- SimpleCOMObject2.tli
- VCTest01.dsp
- VCTest01.dsw
|
// SimpleCOMObject2.idl : IDL source for SimpleCOMObject2.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (SimpleCOMObject2.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(8144D7D0-4516-4B64-AAE7-FA276C94D870),
dual,
helpstring("ISimpleCOMObject2 Interface"),
pointer_default(unique)
]
interface ISimpleCOMObject2 : IDispatch
{
[id(1), helpstring("method TestMethod1")] HRESULT TestMethod1();
};
[
uuid(583B22E4-9E01-4FD3-B0CE-DD75916554BE),
version(1.0),
helpstring("SimpleCOMObject2 1.0 Type Library")
]
library SIMPLECOMOBJECT2Lib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(02CE2476-7F6D-4699-96D2-17FF53758221),
helpstring("_ISimpleCOMObject2Events Interface")
]
dispinterface _ISimpleCOMObject2Events
{
properties:
methods:
};
[
uuid(993B1ECD-61D0-41D3-A4A9-293FB47F83FF),
helpstring("SimpleCOMObject2 Class")
]
coclass SimpleCOMObject2
{
[default] interface ISimpleCOMObject2;
[default, source] dispinterface _ISimpleCOMObject2Events;
};
};
|
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.
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.