⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testocx.odl

📁 java中实现jni调用,jni调用dll ,dll再调用dll ,dll显示调用
💻 ODL
字号:
// testOCX.odl : type library source for ActiveX Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (testOCX.tlb) that will become a resource in
// testOCX.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(9B6123BD-A1AA-455A-989D-540BEB9F4E06), version(1.0),
  helpfile("testOCX.hlp"),
  helpstring("testOCX ActiveX Control module"),
  control ]
library TESTOCXLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CTestOCXCtrl

	[ uuid(8578973D-51A5-4252-8FC4-16C8392FCCC3),
	  helpstring("Dispatch interface for TestOCX Control"), hidden ]
	dispinterface _DTestOCX
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CTestOCXCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CTestOCXCtrl)
			[id(1)] short getShort();
			//}}AFX_ODL_METHOD

			[id(DISPID_ABOUTBOX)] void AboutBox();
	};

	//  Event dispatch interface for CTestOCXCtrl

	[ uuid(23C6A444-3E3C-447A-9937-0C9DB4336581),
	  helpstring("Event interface for TestOCX Control") ]
	dispinterface _DTestOCXEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CTestOCXCtrl)
			//}}AFX_ODL_EVENT
	};

	//  Class information for CTestOCXCtrl

	[ uuid(ED52CFFF-55EF-4894-BEC3-5705CA7BAA06),
	  helpstring("TestOCX Control"), control ]
	coclass TestOCX
	{
		[default] dispinterface _DTestOCX;
		[default, source] dispinterface _DTestOCXEvents;
	};


	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -