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
EquationDemo.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++
- // EquationDemo.idl : IDL source for EquationDemo.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (EquationDemo.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- typedef struct Root
- {
- float r1;
- float r2;
- } Root;
- typedef struct Equation
- {
- float a;
- float b;
- float c;
- } Equation;
- [
- object,
- uuid(A9C49F53-8102-4629-BFF5-E1A8AC730000),
- dual,
- helpstring("IMyEquation Interface"),
- pointer_default(unique)
- ]
- interface IMyEquation : IDispatch
- {
- [id(1),helpstring("asdf")] HRESULT solve([in] Equation* equ,[out] Root** roots);
- };
- [
- uuid(C7F40858-3FE4-48DA-8D78-37D9F4733183),
- version(1.0),
- helpstring("EquationDemo 1.0 Type Library")
- ]
- library EQUATIONDEMOLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(7A2F845C-D946-436E-9648-FA0B16852D40),
- helpstring("MyEquation Class")
- ]
- coclass MyEquation
- {
- [default] interface IMyEquation;
- };
- };