Am adding etw logs to a driver. And when i am using manifest file to generate .rc and header. But in my driver, i have WPP logs also and corresponding rc file.
So when i compile the driver, it gives me linking error.
CVTRES : fatal error CVT1100: duplicate resource. type:MESSAGETABLE, name:1, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
I am using visual studio 2019. As i looked into other topics which are similar to it asking to add different options like
EVENTS_MANIFEST=foo.man
EVENTS_MANIFEST_MC_INPUT_FILE=YourExistingMessageFile.mc
But how to add these as Visual studio project, as i don’t have any make file for this. Please help.
Both the rc files are generated dynamically. One RC file generated from MC and other one generated from manifest file.
So, am not able to resolve this. And i get this linker error with 18362 eWDK and when i build on Visual Studio with 18936 eWDK, i don’t get this error.
So please help to resolve this issue with backward compatibility.