Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
DemoIUnknown.idl
Package: code_and_note_of_COM.rar [view]
Upload User: weisheen
Upload Date: 2022-07-09
Package Size: 19390k
Code Size: 1k
Category:
ActiveX-DCOM-ATL
Development Platform:
Visual C++
- // DemoIUnknown.idl : IDL source for DemoIUnknown.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (DemoIUnknown.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(BA4816E3-7295-4189-B7B5-274676745821),
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface ILog : IUnknown
- {
- [helpstring("asdfdasf")] HRESULT writeLog([in] BSTR message);
- };
- [
- object,
- uuid(BA4816E3-7295-4189-B7B5-274676745820),
- dual,
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IDispatch
- {
- [id(1), helpstring("method SetLog")] HRESULT SetLog([in] IUnknown* pTools);
- [id(2), helpstring("method add")] HRESULT add([in] int a, [in] int b, [out] int* c);
- };
- [
- uuid(212D7586-B43B-4F55-A543-507A3FFED444),
- version(1.0),
- helpstring("DemoIUnknown 1.0 Type Library")
- ]
- library DEMOIUNKNOWNLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(84447EF1-7792-4B4A-8861-6EDBF7BC4AC3),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };