- 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源码
ComCallBack.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
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;
- };
- };