I was using VS 2013. Recently i have been asked to port into VS 2019 that COM componts.
When i compile one of the project , i get this below
error MIDL2003: redefinition : _xml_error
msxml2.idl
- File says
// If, when importing this file into another idl file you receive duplicate definition
// errors, define IMPORTED_MSXML on the command line to the MIDL compiler.
I have done that, still not working
Could you please let me know how to give MIDL command
Tried :
Propertires->Linker->Embeded IDL-> MIDL commands->
midl /d <pre>IMPORTED_MSXML
test.idl
What I have tried:
midl /d
IMPORTED_MSXML
test.idl
Dint work.Still throwing errors