(C++) [Unresolved external '\\ExitVCL' referenced from \[..\]](CppLinkErrorUnresolvedExternal__ExitVCL.md)

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) Unresolved external '__ExitVCL' referenced from [..]

 

Link error.

 

IDE: C++ Builder 6.0

Project type: In Console Wizard 'Console Application' checked, 'Use VCL' checked

 

 

 

 

 

Full error messages

 


[Linker Error] Unresolved external '__ExitVCL' referenced from [..]

 

 

 

 

 

Cause

 

This error occurs, because you want to work in a console application, but you started a Builder application in the Console Wizard.

 

 

 

 

Solution

 

Do 'File | New | Other | Console Wizard'. In this menu, uncheck 'Use VCL' and 'Use CLX'. Check 'Console Application'. It does not matter if 'Multi Threaded' is checked or unchecked (for this error).