Visual Studio 2019

António Almeida 1 Reputation point
2022-08-04T10:53:43.637+00:00

On Visual Studio 2019, after compiling a C++ application written with Visual Studio 2017, I get the message error "Failed to create empty document" and cannot run exe file. What is wrong ?

Thanks in advance

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. Antonio Ferreira de Almeida 1 Reputation point
    2022-08-04T20:14:21.193+00:00

    After debugging, I get this

    Debug Assertion Failed!

    Program: C:\windows\SYSTEM32\mfc140d.dll
    File: D:\a_work\1\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\wincore.cpp
    Line: 4409


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.