LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   kylix3, tcp/ip from cmdline, cannot be compiled (https://www.linuxquestions.org/questions/programming-9/kylix3-tcp-ip-from-cmdline-cannot-be-compiled-178489/)

|-|o\/\/4|2|) 05-06-2004 03:53 AM

kylix3, tcp/ip from cmdline, cannot be compiled
 
Hello,
I'm using Kylix 3 enterprise and I need to create a server using INDY component (TIdTCPServer) => I have to use this component in command-line application, not in a form (GUI).
I tested it in C++ Builder (Windows) and the following part of code works in Windows:

TIdTCPServer *IdTCPServer;

IdTCPServer = new TIdTCPServer(NULL);
IdTCPServer->....setting many properties
IdTCPServer->Active = true;

After executing these commands server is listening and working fine.


When I attempt to build this project on Kylix...

[Linker Error] Unresolved external 'Idtcpserver::TIdTCPServer::' \
referenced from Unit1.o
[Linker Error] Unresolved external '__fastcall Idtcpserver::TIdTCPServer::TIdTCPServer\
(Classes::TComponent *)' referenced from Unit1.o

File Unit1.h contains the same includes (#include <...>) as the GUI version.

When I create normal application - Form (CLX), place this component to the form and set all parameters, everything works. But I don't need it in GUI.


btw: Do you know, how can be this message repaired?
Message catalog not found

ps: sorry for my poor english


All times are GMT -5. The time now is 06:40 PM.