-
Content Count
1691 -
Joined
-
Last visited
-
Days Won
32
Posts posted by Angus Robertson
-
-
Thanks, so I need to amend our documentation for those that have not kept D10.4 patches up to date.
Angus
-
If your Delphi app is built for Win32, you only use Win32 DLLs, even when running in a Win64 OS. This has been the case for 25 years.
If it is failing, there is another reason.
Angus
-
Support for LIB suffix $(Auto) was only added to D10.4, if the 'new' ICS packages using it are installed with older compilers, $(Auto) will appear in the BPL package file names.
Perhaps it was added in a service version of 10.4 you have not installed.
Angus
-
Since $(Auto) was in the fatal error message, it must exist somewhere in your path. ICS only uses it within a package to define where files are built.
Angus
-
I guess you have used the $(Auto) macro as part of the path, which is unfortunately not supported (to my knowledge). You need to replace that with 21.0 for D10.4 for the path.
Angus
-
IcsLogger is really designed for low level event and message handling development, particularly for SSL, its output is rarely of any benefit for application development, I've not used it for development for many years, and it's not used in any of my ICS applications, nor is it used in any modern ICS samples.
Most new ICS components and samples have much better embedded logging that is user friendly, the samples use TIcsBuffLogStream to write logs, and supports date/time mask characters in the file name using the FormatDateTime function, so just use that when preparing the file name for IcsLogger.
Angus
-
What operating system? Have you extracted all the files from the zip with the correct directories?
That XCOPY command works for most people, unless you change something.
Angus
-
I have an old application with several TNextGrid and numerous related Column components, I'm trying to update to Delphi 12 from D11.
It seems TNextGrid v5 does not have any packages for D12, and has been superseded by v6 which has all new component types and unit names. The FAQ says v6 is 'not delete & replace compatible' but gives no hints as to how to update projects from v5 to v6. I've tried manually updating type names, but get lots of form errors and a stream error so no form.
So I either have to create 24 D12 packages for v5, or manually try and rebuild all my grid columns in the IDE with all their values, drop downs, etc, very tedious.
Is there a migration tool from v5 to v6 or upgrade instructions?
Angus
-
It seems Delphi 11 added a new GetIt feature I missed, 'Local GetIt Packag'e, I can not find it mentioned in these forums.
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/GetIt_Local_Files_Guide_Index
Package developers can create a Json file that is selected from Local GetIt Package at the bottom of the GetIt window, and which then installs packages as if they were downloaded from GetIt.
This could simplify installs since paths can be added automatically, lots of other commands to avoid manual intervention and instructions.
Has anyone tried it?
Angus
-
Any other ICS MacOS users able to help here?
Angus
-
All I can suggest is trying an older ICS version, if I've broken something in recent versions. Like https://wiki.overbyte.eu/arch/icsv868.zip
There is a new Linux version V10 in SVN, but no SSL and only simple sockets at the moment, not tested on MacOS but it's uses a Delphi message pump which I assume works on MacOS, that version will be the long term cross platform version. But MacOS will only be supported if contributors help, we can not test it, no Apple hardware.
Angus
-
I've asked if GetIt installs can be improved to remove the old named packages, but this was a one-off with the change in package names.
Angus
-
Thanks, so almost certainly the Posix/MacOS messaging stuff.
Another user did make some minor changes to the Ics.Posix.PXMessages unit in preparation for Linux support, you could try reverting to the V9.0 version of that unit in case it got broken.
Angus
-
Sorry, that error could be the result of dozens of issues, you need to know that messages are being processed correctly first, without a message pump ICS simply does not work, and that is the main difference between Windows and MacOS.
Try accessing the same site using a Windows sample, to see if the problem is unrelated to MacOS.
Angus
-
I can fix the OpenSSL issues, however the GlobalSync functions are part of the Posix message handling unit which is MacOS only, so I can not debug it. It was written many years ago and may need updating for newer MacOS versions.
Other users have had the MacOS version of ICS working in recent years, and I do add changes they suggest. But not heard from MacOS users in a couple of years.
Angus
-
You have ICS V9,0 installed as well, it has different package names as shown in the screen shot, with D12 in the name.
So remove the old ICS V9.0 packages first before installing V9,1. This is mentioned in the readme9, but you won't have seen that with GetIt.
This applies to all upgrade installs of ICS V9.1 on Delphi 10.4, 11 and 12, that now use the same packages.
Angus
-
The OpenSSL DLLs we supply still contain deprecated entries since older applications may use them. But loading entries is table driven by version, so adding a literal to the table will stop it for v3.
Was it just one missing entry, or many?
Angus
-
Quote"A Previous Version of RAD Studio 12 was found on your system"
I had that recently when reinstalling D12 in a test VM, the Windows uninstaller system thinks the old version is still installed, and the installer does not check if unins000.exe actually exists, look for this registry entry and remove all the keys: This key is for Delphi 12, other versions will have different keys but searching for Embarcadero will find them.
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{3CDF0089-74E4-454C-8A6C-BEE7ADFEF600}_is1
Angus
-
RAND_screen is one of hundreds of entries loaded, it's been in OpenSSL for ever, but not actually used by ICS (I believe). If the files loaded are incorrect, there is usually a much longer list of missing entries.
Angus
-
Sorry, there is no official MacOS support for ICS, has not been for 10 years. If someone fixes it, I'll update it for the next release.
Angus
-
The D12.1 ISO I downloaded is 7.23GB. There is a typo on the download page,
Angus
- 1
-
I've not seen this problem in snippets, but don't often test the samples with Win64.
I have seen it on a Win64 web server running on Windows Server 2018, discussed in this forum a few months ago, but the same Win64 web server runs fine on two others Windows Server 2022 and Windows 11.
So there is a lurking Win64 problem somewhere, not convinced it's in ICS, could be OpenSSL or Delphi. Not easy to debug when it only fails on a heavily used live server, That particular web server is now built as Win32 due to the crashes, but a very similar API web server is still Win64 and never fails. Not had a web server crash for over two months.
But if the error is reproducible in snippets, that will be easier to test. But not this week...
Angus
-
Sorry, not looking at complex ICS bugs for a while, catching up on other stuff.
Angus
-
Please read my comments about using the TIcsMailQueue component in a topic in this conference two weeks ago about sending HTML mail.
Angus
ICS V9.1 announced
in ICS - Internet Component Suite
Posted
No idea how that screen shot error is relevant to ICS, we don't use openssl.exe.
Our openssl zips have a different versions of openssl.exe in the Win32 and Win64 zips, you have mixed therm up.
Angus