我在程序中设定两中打印方式,比如说一种是mfc传统的控制,另外一种采用象crystal report等控件提供的打印功能,结果发生redefinition错误。
类似这种:
e:\cheng\debug\craxddrt9.tlh(40) : error C2371: 'CRFieldValueType' : redefinition; different basic types
        e:\cheng\debug\craxdrt9.tlh(40) : see declaration of 'CRFieldValueType'
e:\cheng\debug\craxddrt9.tlh(363) : error C2367: 'Report' : redefinition; different uuid specifiers
        e:\cheng\debug\craxdrt9.tlh(17) : see declaration of 'Report'
e:\cheng\debug\craxddrt9.tlh(369) : error C2011: 'IReport' : 'struct' type redefinition
请教大家为什么?