首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

掏出dll的接口函数

2013-02-06 
取出dll的接口函数#include stdafx.h#import .\\NCT\\Editor.dllno_namespace named_guids int _tmain

取出dll的接口函数

#include "stdafx.h"#import ".\\NCT\\Editor.dll"  no_namespace named_guids int _tmain(int argc, _TCHAR* argv[]){return 0;}


编译后再debug目录下,可以看到生成了.tlh文件,打开该文件就是该接口函数。对于该接口函数我们可以将其文件修改为头文件Editor.h,

引入其头文件,就可以调用其接口函数了.

热点排行