使用 MFC 实现 IDispatch 接口

展示了如何使用 MFC 的分发映射表 DISPATCH_MAP 来实现 IDispatch 接口,并调用 IDispatch 接口的方法。

zip
MFC IDispatch接口实现方法.zip 预估大小:31个文件
folder
MFC IDispatch接口实现方法 文件夹
file
MfcDispatch.suo 55KB
folder
TestCom 文件夹
file
TestCom.h 39B
file
TestCom.vcproj 5KB
file
stdafx.h 813B
file
ReadMe.txt 2KB
file
TestCom.vcproj.QIHUQIH-I5QE4NK.Administrator.user 1KB
file
stdafx.cpp 212B
file
TestCom.cpp 1KB
file
Resource.h 390B
file
TestCom.rc 1KB
file
AnimalInterfaces.h 242B
file
targetver.h 1KB
file
MfcDispatch.sln 1KB
folder
MfcDispatch 文件夹
file
MfcDispatch_h.h 2KB
file
MfcDispatch.cpp 2KB
file
MfcDispatch.rc 3KB
file
MfcDispatch_i.c 2KB
file
MfcDispatch.vcproj.QIHUQIH-I5QE4NK.Administrator.user 1KB
file
stdafx.h 1KB
file
MfcDispatch.vcproj 6KB
file
ReadMe.txt 2KB
folder
res 文件夹
file
MfcDispatch.rc2 367B
file
MfcDispatch.def 230B
file
MfcDispatch.idl 265B
file
MfcDispatch.h 425B
file
stdafx.cpp 142B
file
AnimalObject.cpp 1KB
file
AnimalObject.h 329B
file
Resource.h 370B
file
AnimalInterfaces.h 242B
file
targetver.h 1KB
zip 文件大小:33.24KB