So, again, a short reminder of what you need to do:
- Create empty DLL project
- Set “preprocessor definition” WIN32_WINNT=0x0500 and REGISTER_PROXY_DLL
- Add linker “additional dependency” rpcrt4.lib
- Create a def file for your project and set it as the linker “module definition file”
- Compile IDL and files, generated out of IDL, into a DLL
- Register proxy DLL with regsvr32
附注:在vs2005中,新建“win32项目”,向导中设置类型为dll
本文提供了一套详细的步骤指南,教你如何创建COM代理DLL,包括新建DLL项目、设置预处理器定义、添加链接器依赖、创建目标文件并注册代理DLL。
2040

被折叠的 条评论
为什么被折叠?



