Jump to content

Angus Robertson

Members
  • Content Count

    1691
  • Joined

  • Last visited

  • Days Won

    32

Posts posted by Angus Robertson


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

     


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

     


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

     


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

     


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

     


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

     


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

     


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

     


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

     

×