change into
MIDL this new project will not prompt an error with this mistake.
If you have established a good project, you can try to modify MIDL configuration, headers may not be .h file name, so MIDL1012 error, you can modify .h for the project name, cpp files remain in the project and include the header file unanimously to name.