- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
EquationDemo.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
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;
- };
- };