Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages
Started by Andre Hamilton
Sat, 29 Dec 2007 14:21
Turbo C++ Explorer and Indy
Author: Andre Hamilton
Date: Sat, 29 Dec 2007 14:21
Date: Sat, 29 Dec 2007 14:21
4 lines
1065 bytes
1065 bytes
I know that the explorer edition of Turbo C++ does not include the Indy components. I was wondering if it was still possible to use Indy with the design time packages and if so what are the necessary steps to have this done.
Re: Turbo C++ Explorer and Indy
Author: Remy Lebeau (TeamB)
Date: Mon, 31 Dec 2007 05:57
Date: Mon, 31 Dec 2007 05:57
16 lines
1543 bytes
1543 bytes
"Andre Hamilton" <agentfat2004@gmail.com> wrote in message news:477657e5$1@newsgroups.borland.com... > I was wondering if it was still possible to use Indy with > the design time packages The Explorer edition of Turbo does not support installation of third-party design-time packages. You need the Professional edition for that, or the full Studio product/suite instead. You can, however, add the Indy libs to your Explorer project manually and then dynamically instantiate the desired Indy objects at run-time. But you cannot use any of the design-time features at all. Gambit
Re: Turbo C++ Explorer and Indy
Author: Andre Hamilton
Date: Mon, 31 Dec 2007 15:20
Date: Mon, 31 Dec 2007 15:20
35 lines
2395 bytes
2395 bytes
Ok. I was able to create a new variable of type TIdTCPServer, and it compiled after including the Indy lib files manually. I know if I had the professional version I could just add methods in the events tab to set functionality, however there is no design time package. I realize that some of the methods(in TIdTCPServer) are declared as virtual. So can I assume to use the Indy package that I would have to create a child class that overrides all the virtual methods, or does the lib contain blank implementations. If I need to create the child class, is there any documentation that says how to go about such. Thanks "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:477884c8$2@newsgroups.borland.com... > > "Andre Hamilton" <agentfat2004@gmail.com> wrote in message > news:477657e5$1@newsgroups.borland.com... > >> I was wondering if it was still possible to use Indy with >> the design time packages > > The Explorer edition of Turbo does not support installation of third-party > design-time packages. You need the Professional edition for that, or the > full Studio product/suite instead. You can, however, add the Indy libs to > your Explorer project manually and then dynamically instantiate the > desired > Indy objects at run-time. But you cannot use any of the design-time > features at all. > > > Gambit > >
Re: Turbo C++ Explorer and Indy
Author: Remy Lebeau (TeamB)
Date: Wed, 02 Jan 2008 03:24
Date: Wed, 02 Jan 2008 03:24
35 lines
1977 bytes
1977 bytes
"Andre Hamilton" <agentfat2004@gmail.com> wrote in message
news:477908aa$1@newsgroups.borland.com...
> I know if I had the professional version I could just add
> methods in the events tab to set functionality
Design-time support is not required for that. You can assign event handlers
dynamically in your run-time code as well, ie:
void __fastcall TSomeClass::InitServer()
{
fServer = new TIdTCPServer(this);
fServer->OnExecute = &ServerExecute;
//...
}
void __fastcall TSomeClass::ServerExecute(TIdContext *AContext);
{
//...
}
> I realize that some of the methods(in TIdTCPServer) are
> declared as virtual. So can I assume to use the Indy package
> that I would have to create a child class that overrides all the
> virtual methods
No. You can use the existing components as-is.
> or does the lib contain blank implementations.
No, as it does not need to.
Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads