Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Unresolved external '_Form2' referenced from [...]\UNIT1.OBJ

 

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'.

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict