Excel addin

来源:互联网 发布:linux查看组下用户 编辑:程序博客网 时间:2024/06/05 05:47
try changing your import to
 
#import "C:\Program Files\Microsoft Office\Office\EXCEL9.olb" \
            rename_namespace("Excel") rename("DialogBox","_DialogBox") rename("RGB","_RGB") \
            exclude("IFont","IPicture") raw_interfaces_only named_guids
 
I also prefer to put the app-specific import in the Addin.h to prevent name conflicts
原创粉丝点击