- 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
|
// LegacyCOMObject1.idl : IDL source for LegacyCOMObject1.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (LegacyCOMObject1.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(2E85D9EA-84E5-4767-8010-6400BA59CDBF),
dual,
helpstring("ILegacyCOMObject1 Interface"),
pointer_default(unique)
]
interface ILegacyCOMObject1 : IDispatch
{
[id(1), helpstring("method TestMethod1")] HRESULT TestMethod1();
};
[
uuid(6934F572-21B7-43DE-BDCD-B909DA3C572B),
version(1.0),
helpstring("LegacyCOMObject1 1.0 Type Library")
]
library LEGACYCOMOBJECT1Lib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(F82638B5-058B-46EE-95D7-988AF15A694E),
helpstring("_ILegacyCOMObject1Events Interface")
]
dispinterface _ILegacyCOMObject1Events
{
properties:
methods:
};
[
uuid(81A0A4E9-F514-4932-95AA-632F767429E6),
helpstring("LegacyCOMObject1 Class")
]
coclass LegacyCOMObject1
{
[default] interface ILegacyCOMObject1;
[default, source] dispinterface _ILegacyCOMObject1Events;
};
};
|
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.