随笔分类 - Windows
摘要:一、dll函数和类有两种导出方法:1、.def文件导出;2、__declspec(dllexport)导出;dll方法和类的导入:1、静态方式,加载lib和头文件,接着调用即可;2、动态方式,load dll,使用GetProcAddress动态获取函数指针地址;二、下面是使用.def导出方式的代码...
阅读全文
摘要:// IsUserAdminTest.cpp : Defines the entry point for the console application.//#include #include #include BOOL IsUserAdmin();int _tmain(int argc, _TCH...
阅读全文
浙公网安备 33010602011771号