'/Gr - __fastcall calling convention' switch incompatible with the '/com+' switch: changing to '/Gz - __stdcall calling convention'
The /com+ and /Gr compiler options cannot be used together. The compiler ignores the /Gr option. To resolve the warning eliminate one of the compiler options. The following sample generates C4563:
// compile with /com+ and /Gr void main() { }