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.
"Andre Hamilton" 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
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)" wrote in message
news:477884c8$2@newsgroups.borland.com...
>
> "Andre Hamilton" 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
>
>
"Andre Hamilton" 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