Board index » cppbuilder » WinApi, unresolved external error
Lennart Lopin
CBuilder Developer |
Lennart Lopin
CBuilder Developer |
WinApi, unresolved external error2003-09-21 07:04:41 PM cppbuilder2 Hi there, I am using BCB 5 and just tried to compile a simple WinAPI hello world window - however my compiler comes up with this error code: [Linker Fehler] Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\CP32MTI.LIB|crtlvcl [Linker Fehler] Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\CP32MTI.LIB|crtlvcl whats wrong? |
Ed Mulroy [TeamB]
CBuilder Developer |
2003-09-21 07:12:19 PM
Re:WinApi, unresolved external error
It sounds as if you created a project for a program that uses the VCL then
did not use it. Non-VCL projects are created by doing File|New and double clicking on the Console Wizard. (File|New|Other in BCB6) . Ed QuoteLennart Lopin wrote in message |
Lennart Lopin
CBuilder Developer |
2003-09-21 07:17:59 PM
Re:WinApi, unresolved external error
thanks very much!
I followed Kent Reisdorph advice in his book on C++ Builder 3 - (he shows a method where you delete the main form from the project) it might have worked for BCB 3... "Ed Mulroy [TeamB]" < XXXX@XXXXX.COM >wrote in message QuoteIt sounds as if you created a project for a program that uses the VCL then {smallsort} |
Ed Mulroy [TeamB]
CBuilder Developer |
2003-09-21 09:59:08 PM
Re:WinApi, unresolved external error
As you've found out, a lot has changed in the 6 years since BCB 3 was the
current version. BCB is a powerful tool. I wish you good luck in your adventures with it. . Ed QuoteLennart Lopin wrote in message |