
4 Nov
2010
4 Nov
'10
noon
Yes. VC10's linker deterministically detects IDL mismatch and emits hard errors, naming the offending object files. (This machinery, #pragma detect_mismatch, is available for anyone to use. It will also detect when object files using the C++ Standard Library and compiled with different major versions of VC are mixed together, as long as both are VC10+; unfortunately we can't detect mixing when VC9 or earlier is involved.)
I've been testing this, and it works well for object files being linked into one application (and presumably for static libraries), but appears not to detect mismatches between an application and a DLL, which basically makes it next to useless... unless I'm missing something? Thanks, John.