I have a C++ COM project that was created with Visual C++ 6. I have just converted the project to Visual Studio 2005 and have been trying to build it. I get the following compile errors:
The problem is that these compile errors are in a myproject_i.c file that is auto-generated by the MIDL program. How can I force MIDL to generate code that doesn't have these errors?
Could this be an artifact of the project being converted from VC6?
Code:
warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) error C2143: syntax error : missing ';' before '__uuidof' error C2059: syntax error : '__uuidof' error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?)
Could this be an artifact of the project being converted from VC6?
Comment