Sunday, January 31, 2021

Error MSB6006 "midl.exe" exited with code 2214.

Error MSB6006 "midl.exe" exited with code 2214. GL3dOcx C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 1408

  1. Midl compiler error: 2214
  2. I've some problem with a project (an OCX): when I try to compile in release mode compilation stops with this message:

    "1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1178,5): error MSB6006: "midl.exe" exited with code 2214."

    I cannot find any information useful to debug the error because is not an error code, is an exit code. What I can do? It stops right after start parsing "oaidl.acf".

    A Solution I was getting the same error when trying to compile an OCX project that was upgraded in VS2013. I had to open the .odl file and move the #include statements inside the library block.

    A Solution You may also be able to fix your problem by removing the /mktyplib203 switch from your MIDL settings.

    Project->Properties->Configuration Properties->MIDL->General->MkTypLib Compatible: Yes (/mktyplib203)

  3. Midl Compiler Error: 2214
  4. This is a paragraph.

  5. This is a paragraph.

  6. This is a paragraph.

  7. This is a paragraph.

  8. This is a paragraph.

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

No comments:

Post a Comment