Hi,
I have the borland studio 2006 version and running indy9 bcoz indy10 not running with c++. I have a problem when declaring a variable 'Bindings' of type TIdSocketHandles, that is a collection of TIdSocketHandle to start the tcpserver.
void __fastcall TMainFormServer::FormCreate(TObject *Sender){
TIdSocketHandles Bindings= new TIdSocketHandles;
...
}
I am getting this error -- [C++ Error] Screen.cpp(83): E2285 Could not find a match for 'TIdSocketHandles::TIdSocketHandles()'
[C++ Error] Screen.cpp(83): E2285 Could not find a match for 'TIdSocketHandles::TIdSocketHandles(const TIdSocketHandles&)'
even when i try TIdSocketHandles->....the list of methods/properties does not show up!
Note.. I am trying to convert the code from delphi to c++ for the following tutorial:
Thanks for helping!
I have the borland studio 2006 version and running indy9 bcoz indy10 not running with c++. I have a problem when declaring a variable 'Bindings' of type TIdSocketHandles, that is a collection of TIdSocketHandle to start the tcpserver.
void __fastcall TMainFormServer::FormCreate(TObject *Sender){
TIdSocketHandles Bindings= new TIdSocketHandles;
...
}
I am getting this error -- [C++ Error] Screen.cpp(83): E2285 Could not find a match for 'TIdSocketHandles::TIdSocketHandles()'
[C++ Error] Screen.cpp(83): E2285 Could not find a match for 'TIdSocketHandles::TIdSocketHandles(const TIdSocketHandles&)'
even when i try TIdSocketHandles->....the list of methods/properties does not show up!
Note.. I am trying to convert the code from delphi to c++ for the following tutorial:
Thanks for helping!