掏出dll的接口函数

取出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,

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