fully prototyped functions are required with the '/com+' switch: converting '()' to '(void)'
Function prototypes should be fully defined when compiling a C source code file using the /com+ compiler option. The compiler automatically converts empty parameter lists to void. The following sample generates C4562:
// compile with /com+ /W4 and /Tc void main() { // C4562, use (void) instead of () to resolve }