fatal error LNK1179: invalid or corrupt file: duplicate comdat "XXX"
LNK1179 无效或损坏的文件: 重复的 COMDAT“_IID_IDispatchEx”
解决方法,找到(ocx和dll都是类似的)
#import "Flash.ocx" named_guids
改为
#import "Flash.ocx" named_guids, exclude("IFlashObjectInterface"), exclude("IDispatchEx")