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
ComCallBack.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++
- // ComCallBack.idl : IDL source for ComCallBack.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (ComCallBack.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(4DDEB7DA-1ED9-493C-ABF4-BB9E152BC4A7),
- helpstring("IMyAbc Interface")
- ]
- interface ILogs
- {
- [helpstring("string")] HRESULT WriteLog([in] BSTR message);
- };
- [
- object,
- uuid(4DDEB7DA-1ED9-493C-ABF4-BB9E152BC4A6),
- dual,
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IDispatch
- {
- [id(1),helpstring("ddd")] HRESULT SetLog([in] ILogs* ptools);//依赖注入方法;
- [id(2),helpstring("ddd")] HRESULT add([in] int a, [in] int b,[out] int* c);
- };
- [
- uuid(3C91F4CC-20EF-44DC-B916-83E194089FBF),
- version(1.0),
- helpstring("ComCallBack 1.0 Type Library")
- ]
- library COMCALLBACKLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(343819AB-6A1C-43DA-92AE-2D2C890FD625),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };