Skip to content

Latest commit

 

History

History
89 lines (48 loc) · 1.01 KB

File metadata and controls

89 lines (48 loc) · 1.01 KB

 

 

 

 

 

 

Link error.

 

IDE: C++ Builder 6.0

Project type: VCL

 

 

 

 

Full error message

 


[Linker Error] Unresolved external '_Form2' referenced from [...]\UNIT1.OBJ

 

 

 

 

 

Cause

 

This error occurs when you have added a second TForm to your project (using 'File | Include Unit Hdr'), but without having done 'Project | Add to Project | Unit2.cpp'

 

 

 

 

 

Solution

 

Add the Unit to the Project: do 'Project | Add to Project | Unit2.cpp'.