I found the solution myself.
In fact when converting from delphi to c++ the variable 'Bindings' becomes a pointer as thus:
TIdSocketHandles *Bindings= new TIdSocketHandle(TCPServer);
Also instead of calling the function in the form oncreate event, the initialisation should be done in the form...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.