Главная страница | назад





Article #15800: Inexplicable Undefined symbol errors in BCB

 Question and Answer Database
FAQ800C.txt Inexplicable Undefined symbol errors in BCB
Category :Linker
Platform :All
Product :C++Builder 1.x
Question:
I added a control of my own design and tried to use it, but
kept getting linker errors telling me various symbols were
undefined. I tried it in Delphi and it worked fine. What is
going on?
Answer:
This error often occurs when you give the same name to both
the project and the control. The linker looks for the .obj
containing the source for the control and picks up the .obj
containing the source for the project instead, resulting
in a linker error.
You need to name your project and your custom controls
different things in order to avoid this problem.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99