Friday, 11 December 2020
  12 Replies
  3.2K Visits
  Subscribe
Can you please provide a valid link to the sgcIndy-Demos?

The following link results into a 404 error: https://www.esegece.com/download/sgcIndy_Demos.zip
3 years ago
·
#591
Accepted Answer
Hello,

I've fixed it, it was deleted by mistake on latest update.
Thanks for letting me know.

Kind regards,
Sergio
3 years ago
·
#591
Accepted Answer
Hello,

I've fixed it, it was deleted by mistake on latest update.
Thanks for letting me know.

Kind regards,
Sergio
3 years ago
·
#603
Thanks for fixing this issue!

Best regards
Guido
2 years ago
·
#813
Its gone 404 again :-) :-) :-)
2 years ago
·
#814
Hello,

This link was moved some months ago, use the following:

https://download.esegece.com/sgcIndy_Demos.zip

Kind Regards,
Sergio
2 years ago
·
#815
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 ...

Can you help/guide ?

Best regards
2 years ago
·
#816
Hello,

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.

Kind Regards,
Sergio
2 years ago
·
#817
Thank you a lot.

My misunderstanding.

The compile-process now halts at a missing unit instead .. "Threading" is missing.
I scanned my entire harddisk ... no "Threading.pas" (or .dcu) found .. What am I missing this time ? :-)

Best regards (and thanks in advance).
2 years ago
·
#818
Hello,

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.

Kind Regards,
Sergio
2 years ago
·
#819
When trying to build program sgcHTTP2Client

This unit :

unit FHTTP2_Client;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls,
sgcIdHTTP, sgcHTTP, sgcHTTP2_Client, sgcBase_Classes, sgcTCP_Classes,
sgcTCP_Client, sgcHTTP2_Types, sgcIdAuthentication, sgcWebSocket_Classes,
sgcWebSocket_Classes_Indy, sgcWebSocket_Server, sgcWebSocket,
sgcBase_Helpers, sgcHTTP2_Frame, sgcWebSocket_Types, Menus, Threading,
sgcSocket_Classes;

ABSOLUTELY does specify "Threading" as a unit (second to last line of the USES specification).

I am a bit confused, I wont hide that :-)
2 years ago
·
#820
Hello,

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:

https://www.esegece.com/download/samples/http2_d7.zip

Kind Regards,
Sergio
2 years ago
·
#821
I understand your confusion.

Both actually.

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 ..

Thanks for your help and time !
2 years ago
·
#822
Hello,

Glad to hear it works now.
Just contact me again if you have any problems or concerns.

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)