Thank you, - but it dident help me .. I still suffer this problem in Delphi 7 :
[Warning] sgcIdStackWindows.pas(1822): Return value of function 'TIdSocketListWindows.GetItem' might be undefined
[Warning] sgcIdIOHandler.pas(2630): Return value of function 'TIdIOHandler.WriteFile' might be undefined
[Fatal Error] sgcWebSocketsD7.dpk(225): Unit sgcWebSocket_Client was compiled with a different version of sgcIdTCPClient.TIdTCPClientCustom.SetReadTimeout
I installed Indy10 (downloaded from this/your site), and the indy-components are available on Delphi 7's palette, but still, I cannot install scgWebSockets.
I have searched Google a lot, but I find no clue as to what the solution is ...
The sgcWebSockets Trial already includes all Indy files required, because is the Enterprise version, which uses a custom Indy version. There is no need to install the indy 10 version (this is only required for Standard or Professional packages).
The error is raised because the linker find sgcIdTCPClient unit which is different from the included inside the trial/libD7 folder.
Just delete the Indy version installed (and all dcu, bpl...) and try again with only the Delphi 7 trial. It should work.
It's weird, I don't make use of any Threading.pas unit... Indy only makes use of System.Threading if .NET (old version of Delphi...) is enabled, but in Delphi 7 it shouldn't be linked. I don't know, check the if some path is pointing to a wrong folder. I just installed the trial for Delphi 7 without problems, on a new machine.
Ok, I thought the problem was installing the package not a demo.
Yes, the demo uses the Threading unit because creates a thread for HTTP/1.1, but this unit is not included in Delphi 7.
I've deleted the references to this unit and all the HTTP 1.1 code (so only HTTP/2 will work). You can download the modified project from:
I work for a company that is considering purchasing your WebSockets components, and we have a large portfolio of Delphi 7 software that we MUST maintain.
Personally I work with Delphi 10.4.2 (and 11) where the server-suite will be developed. But before management will allow me to set the plan in motion, I have to document to them that I can make the client-implementation work with the old Delphi 7 products.
Your new demo-project with the removed Threading unit compiles well .. and I am now testing it up against the server-setup compiled in Delphi 10.4.2
If everything turns out well, we will become a new customer with you ..