LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2004, 03:53 AM   #1
|-|o\/\/4|2|)
LQ Newbie
 
Registered: May 2004
Location: Plzen
Distribution: Fedora Core 1, Mandrake 9.2
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTP: no tcp wrapper support compiled in lagu2653 Linux - Security 1 11-17-2005 08:21 AM
How do I get the cmdline of a process in proc DonCorleonne Programming 1 05-05-2005 09:48 AM
cmdline ftp clients tools zecodela Linux - Software 3 08-07-2004 06:33 PM
WARNING: linux/tcp present but cannot be compiled qwijibow Linux - General 1 07-16-2004 10:21 PM
redhat 7.1 - How do i know if the default install compiled ssh with tcp wrappers ForumKid Linux - General 3 01-23-2002 07:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration