

TurboMagic
Members-
Content Count
255 -
Joined
-
Last visited
-
Days Won
9
Everything posted by TurboMagic
-
UDP sending and receiving
TurboMagic replied to TurboMagic's topic in ICS - Internet Component Suite
From this albeit German description here: https://helpdesk.ebertlang.com/kb/a507/winsock-fehlercode-beschreibung.aspx Ok, found the exact same description in English on a Microsoft site: https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 I take it that I should call this one: setsockopt(SO_BROADCAST) because I'm using SendTo in conjunction with a broadcast address. Any idea how I'd call this via ICS and if this is really a good idea? The other idea would be to use a variant of my old code which fetched a list of all network interfaces and looped through those and send the request on each one separately. TurboMagic -
UDP sending and receiving
TurboMagic replied to TurboMagic's topic in ICS - Internet Component Suite
Hello, I added your error message code but I had to modify it. I had to use this one: WSocket_WSAGetLastError because the other one is not exported in OverbyteIcsWSocket.pas. I get the following error message now: "Permission denied" ErrorCode: 10013 TurboMagic -
UDP sending and receiving
TurboMagic replied to TurboMagic's topic in ICS - Internet Component Suite
Thanks so far, but I still don't properly manage this. In my application I try to send like this, but in the UDP listener demo nothing arrives and SentTo returns -1: procedure TDeviceSearch.OnWuTSearchSessionConnected(Sender: TObject; Error: Word); var Src : TSockAddrIn; SrcLen : Integer; Data : RawByteString; begin if (Error = 0) then begin try SrcLen := SizeOf(TSockAddrIn); // I want to send to everybody I can reach (broadcast) Src.sin_addr.S_addr := WSocket_inet_addr('255.255.255.255'); Src.sin_port := 1234; Src.sa_family := AF_INET; Data := 'Hallo?'; // This posts -1 into my log. I'd expect 6 instead... log.Send('Bytes: ' + (Sender As TWSocket).SendTo(Src, SrcLen, @Data[low(Data)], Length(Data)).ToString); except On E:Exception do log.SendException'Failure in OnWuTSearchSessionConnected: ' + E.Message, E); end; end else log.Send('Failure in UDP handling: ' + Error.ToString); end; What am I making wrong/missing? -
Hello, when trying to install JCL (V2.8 build 5677) into D10.4.2 I get this failure message soon after it starts compiling Win32 stuff: "This installation of RAD Studio 10.4 doesn't support dual packages." Here's the log: ================================================================================ JCL 2.8 Testing Build 5677 ==========RAD Studio 10.4 32 bit================================================ Installed personalities : 32 bit Delphi 64 bit Delphi 64 bit Delphi for OSX 32 bit Delphi for Android 64 bit Delphi for Android 32 bit Delphi for iOS 64 bit Delphi for iOS 32 bit Delphi for iOSSimulator 64 bit Delphi for Linux 64 bit C++Builder ================================================================================ Multiple profile installation Single profile installation ================================================================================ Saving conditional defines... Loaded template for include file C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include\jcl.template.inc Saved include file C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include\jcld27win32.inc Building source\common library units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" bzip2 Jcl8087 JclAbstractContainers JclAlgorithms JclAnsiStrings JclArrayLists JclArraySets JclBase JclBinaryTrees JclCharsets JclCompilerUtils JclComplex JclCompression JclContainerIntf JclCounter JclDateTime JclDevToolsResources JclExprEval JclFileUtils JclHashMaps JclHashSets JclIDEUtils JclIniFiles JclLinkedLists JclLogic JclMath JclMIDI JclMime JclNotify JclPCRE JclPreProcessorAlgorithmsTemplates JclPreProcessorArrayListsTemplates JclPreProcessorArraySetsTemplates JclPreProcessorBinaryTreesTemplates JclPreProcessorContainer1DTemplates JclPreProcessorContainer2DTemplates JclPreProcessorContainerIntfTemplates JclPreProcessorContainerKnownMaps JclPreProcessorContainerKnownTypes JclPreProcessorContainerTemplates JclPreProcessorContainerTypes JclPreProcessorExcDlgTemplates JclPreProcessorHashMapsTemplates JclPreProcessorHashSetsTemplates JclPreProcessorLexer JclPreProcessorLinkedListsTemplates JclPreProcessorParser JclPreProcessorQueuesTemplates JclPreProcessorSortedMapsTemplates JclPreProcessorStacksTemplates JclPreProcessorTemplates JclPreProcessorTreesTemplates JclPreProcessorVectorsTemplates JclQueues JclResources JclRTTI JclSchedule JclSimpleXml JclSortedMaps JclStacks JclStatistics JclStreams JclStrHashMap JclStringConversions JclStringLists JclStrings JclSynch JclSysInfo JclSysUtils JclTrees JclUnicode JclUnitConv JclUnitVersioning JclUnitVersioningProviders JclUsesUtils JclValidation JclVectors JclWideStrings pcre zlibh --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C- -$D- -$I- -$O+ -$Q- -$R- -$W- -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 653020 Zeilen, 3.14 Sekunden, 53088 Byte-Code, 16900 Byte-Daten. Building source\windows library units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" Hardlinks JclAppInst JclCIL JclCLR JclCOM JclConsole JclCppException JclDebug JclDebugSerialization JclDebugXMLDeserializer JclDebugXMLSerializer JclDotNet JclHelpUtils JclHookExcept JclLANMan JclLocales JclMapi JclMetadata JclMiscel JclMsBuild JclMsdosSys JclMultimedia JclNTFS JclPeImage JclRegistry JclSecurity JclShell JclStructStorage JclSvcCtrl JclTask JclTD32 JclTimeZones JclWin32 JclWin32Ex JclWinMIDI mscoree_TLB mscorlib_TLB MSHelpServices_TLB MSTask sevenzip Snmp --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C- -$D- -$I- -$O+ -$Q- -$R- -$W- -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 217273 Zeilen, 1.22 Sekunden, 3843 Byte-Code, 596 Byte-Daten. Building source\vcl library units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" JclFont JclGraphics JclGraphUtils JclOpenDialogFavorites JclOpenDialogHooks JclPrint JclVclResources JclVersionControl JclVersionCtrlCVSImpl JclVersionCtrlGITImpl JclVersionCtrlSVNImpl --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C- -$D- -$I- -$O+ -$Q- -$R- -$W- -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 44869 Zeilen, 0.69 Sekunden, 7281 Byte-Code, 24 Byte-Daten. Building source\common library debug units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" bzip2 Jcl8087 JclAbstractContainers JclAlgorithms JclAnsiStrings JclArrayLists JclArraySets JclBase JclBinaryTrees JclCharsets JclCompilerUtils JclComplex JclCompression JclContainerIntf JclCounter JclDateTime JclDevToolsResources JclExprEval JclFileUtils JclHashMaps JclHashSets JclIDEUtils JclIniFiles JclLinkedLists JclLogic JclMath JclMIDI JclMime JclNotify JclPCRE JclPreProcessorAlgorithmsTemplates JclPreProcessorArrayListsTemplates JclPreProcessorArraySetsTemplates JclPreProcessorBinaryTreesTemplates JclPreProcessorContainer1DTemplates JclPreProcessorContainer2DTemplates JclPreProcessorContainerIntfTemplates JclPreProcessorContainerKnownMaps JclPreProcessorContainerKnownTypes JclPreProcessorContainerTemplates JclPreProcessorContainerTypes JclPreProcessorExcDlgTemplates JclPreProcessorHashMapsTemplates JclPreProcessorHashSetsTemplates JclPreProcessorLexer JclPreProcessorLinkedListsTemplates JclPreProcessorParser JclPreProcessorQueuesTemplates JclPreProcessorSortedMapsTemplates JclPreProcessorStacksTemplates JclPreProcessorTemplates JclPreProcessorTreesTemplates JclPreProcessorVectorsTemplates JclQueues JclResources JclRTTI JclSchedule JclSimpleXml JclSortedMaps JclStacks JclStatistics JclStreams JclStrHashMap JclStringConversions JclStringLists JclStrings JclSynch JclSysInfo JclSysUtils JclTrees JclUnicode JclUnitConv JclUnitVersioning JclUnitVersioningProviders JclUsesUtils JclValidation JclVectors JclWideStrings pcre zlibh --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\debug" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C+ -$D+ -$I+ -$O- -$Q+ -$R+ -$W+ -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\debug" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 653020 Zeilen, 2.86 Sekunden, 53256 Byte-Code, 16900 Byte-Daten. Building source\windows library debug units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" Hardlinks JclAppInst JclCIL JclCLR JclCOM JclConsole JclCppException JclDebug JclDebugSerialization JclDebugXMLDeserializer JclDebugXMLSerializer JclDotNet JclHelpUtils JclHookExcept JclLANMan JclLocales JclMapi JclMetadata JclMiscel JclMsBuild JclMsdosSys JclMultimedia JclNTFS JclPeImage JclRegistry JclSecurity JclShell JclStructStorage JclSvcCtrl JclTask JclTD32 JclTimeZones JclWin32 JclWin32Ex JclWinMIDI mscoree_TLB mscorlib_TLB MSHelpServices_TLB MSTask sevenzip Snmp --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\debug" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C+ -$D+ -$I+ -$O- -$Q+ -$R+ -$W+ -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\debug" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 217273 Zeilen, 1.06 Sekunden, 3988 Byte-Code, 596 Byte-Daten. Building source\vcl library debug units for RAD Studio 10.4 32 bit... "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" JclFont JclGraphics JclGraphUtils JclOpenDialogFavorites JclOpenDialogHooks JclPrint JclVclResources JclVersionControl JclVersionCtrlCVSImpl JclVersionCtrlGITImpl JclVersionCtrlSVNImpl --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\debug" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -M -$X+ -$G+ -$H+ -$P+ -$U- -$T- -$V+ -$J+ -$Z1 -$L+ -$Y+ -$J+ -$C+ -$D+ -$I+ -$O- -$Q+ -$R+ -$W+ -N0"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\debug" -ns"System;System.Win;WinAPI;Vcl;Vcl.Imaging" -I"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" -R"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 44869 Zeilen, 0.59 Sekunden, 7840 Byte-Code, 24 Byte-Daten. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\Jcl.dpk... Cleaning package cache for Jcl270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\Jcl.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\Jcl.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 128 Zeilen, 0.55 Sekunden, 1816588 Byte-Code, 719208 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclContainers.dpk... Cleaning package cache for JclContainers270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclContainers.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclContainers.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;Jcl;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 69 Zeilen, 0.42 Sekunden, 2166156 Byte-Code, 884 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDeveloperTools.dpk... Cleaning package cache for JclDeveloperTools270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDeveloperTools.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDeveloperTools.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;Jcl;JclContainers;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 86 Zeilen, 0.39 Sekunden, 513416 Byte-Code, 14696 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclVcl.dpk... Cleaning package cache for JclVcl270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclVcl.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclVcl.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;vclimg;Jcl;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 67 Zeilen, 0.42 Sekunden, 142392 Byte-Code, 1692 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclBaseExpert.dpk... Cleaning package cache for JclBaseExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclBaseExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclBaseExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;vclx;designide;Jcl;JclDeveloperTools;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 43661 Zeilen, 0.77 Sekunden, 66832 Byte-Code, 588 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDebugExpert.dpk... Cleaning package cache for JclDebugExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDebugExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclDebugExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclBaseExpert;JclDeveloperTools;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 8093 Zeilen, 0.59 Sekunden, 40856 Byte-Code, 468 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclProjectAnalysisExpert.dpk... Cleaning package cache for JclProjectAnalysisExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclProjectAnalysisExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclProjectAnalysisExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclBaseExpert;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 6983 Zeilen, 0.58 Sekunden, 29532 Byte-Code, 328 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclFavoriteFoldersExpert.dpk... Cleaning package cache for JclFavoriteFoldersExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclFavoriteFoldersExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclFavoriteFoldersExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclVcl;JclBaseExpert;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 3048 Zeilen, 0.56 Sekunden, 10864 Byte-Code, 212 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclRepositoryExpert.dpk... Cleaning package cache for JclRepositoryExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclRepositoryExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclRepositoryExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclContainers;JclBaseExpert;JclDeveloperTools;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 33622 Zeilen, 1.08 Sekunden, 46136 Byte-Code, 480 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclSIMDViewExpert.dpk... Cleaning package cache for JclSIMDViewExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclSIMDViewExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclSIMDViewExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclBaseExpert;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\experts\debug\simdview\JclSIMDUtils.pas(868) Warnung: W1000 Symbol 'TOTAThreadContext' ist veraltet C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\experts\debug\simdview\JclSIMDUtils.pas(868) Warnung: W1000 Symbol 'TOTAThreadContext' ist veraltet 17838 Zeilen, 0.75 Sekunden, 59624 Byte-Code, 892 Byte-Daten. Compilation success ...done. Building C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclStackTraceViewerExpert.dpk... Cleaning package cache for JclStackTraceViewerExpert270.bpl Cleaning ok Compiling package C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclStackTraceViewerExpert.dpk "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcc32.exe" "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\packages\d27\JclStackTraceViewerExpert.dpk" --no-config -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\lib\Win32\release" -NU"..\..\lib\d27\win32" -I"..\..\lib\d27\win32;..\..\source\include;" -R"..\..\lib\d27\win32;..\..\source\include;" -DBCB;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE;BCB;WIN32;CONDITIONALEXPRESSIONS;RELEASE -U"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\;C:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp;..\..\lib\d27\win32;..\..\source\include;" -LU"rtl;vcl;designide;Jcl;JclBaseExpert;" -ns"System;System.Win;WinApi;Vcl;Vcl.Imaging;" -LN"C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32" -LE"C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl" Embarcadero Delphi for Win32 compiler version 34.0 Copyright (c) 1983,2021 Embarcadero Technologies, Inc. 43814 Zeilen, 0.75 Sekunden, 68596 Byte-Code, 476 Byte-Daten. Compilation success ...done. Added "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\include" to library search path. Added "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\common;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\windows;C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\source\vcl" to library browsing path. Added "C:\Program Files (x86)\Embarcadero\Studio\21.0\Extras\Jcl\jcl\lib\d27\win32\debug" to Debug DCU Path. Cleaning package cache for JclBaseExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclBaseExpert270.bpl Registration ok Cleaning package cache for JclDebugExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclDebugExpert270.bpl Registration ok Cleaning package cache for JclProjectAnalysisExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclProjectAnalysisExpert270.bpl Registration ok Cleaning package cache for JclFavoriteFoldersExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclFavoriteFoldersExpert270.bpl Registration ok Cleaning package cache for JclRepositoryExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclRepositoryExpert270.bpl Registration ok Cleaning package cache for JclSIMDViewExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclSIMDViewExpert270.bpl Registration ok Cleaning package cache for JclStackTraceViewerExpert270.bpl Cleaning ok Registering package C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\JclStackTraceViewerExpert270.bpl Registration ok My user has no admin permissions but the Extras folder the JCL is under has write permission. What's wrong? Best regards TurboMagic
-
That one worked. Thanks!
-
There is a Mantis bugtracker linked on the JCL and JVCL project description pages on GitHub. That works.
-
Thanks! Will check this. Do you know which consequences unticking that checkbox has? Btw. I reported it here: https://issuetracker.delphi-jedi.org/view.php?id=6719
-
Hello, I've got trouble sharing a file which is local to my app now. Code previously worked before migrating to 10.4.1 and moving the file to the app local directory to make it Android 10+ compatible. Before showing the code I'd like to know if the following path I see in the Android logcat log is correct or who it would need to look like: 04-07 12:10:09.190: I/ActivityTaskManager(1352): START u0 {act=android.intent.action.SEND dat=content://com.mycompany.MyApp.fileprovider/root/data/data/com.mycompany.MyApp/files/1.dat typ=*/* flg=0x1 cmp=android/com.android.internal.app.ResolverActivity} from uid 10269 I have the suspicion that this one is a concatenation of two things and thus wrong: content://com.mycompany.MyApp.fileprovider/root/data/data/com.mycompany.MyApp/files/1.dat When trying to share it with GMail I do get an empty mail composer screen, but no attachment. Cheers TurboMagic
-
New/old component re-released: TComPortDrv
TurboMagic replied to TurboMagic's topic in Delphi Third-Party
Small update: it is available via GetIt now for users of 10.4.1 and 10.4.2. Enjoy! -
New/old component re-released: TComPortDrv
TurboMagic replied to TurboMagic's topic in Delphi Third-Party
Thanks for notifying me. Fixed now, so you can enjoy it now 😉 -
Somebody found out, that DEC only compiled in XE7 or newer due to the use of new array syntax. Development branch contains a version now which should be fixed. I have no old Delphi installed, so this is not testest yet.
-
Somebody else found that out meanwhile as well and Development branch contains fixes for most known issues already. And yes I agreed: we shouldn't try to support every old Delphi version. I had rised this to D2009 with V6.0. I am not sure what the minimum version was before I took over. Maybe D5. I will raise it further in the future.
-
The compilation incompatibility issue was fixed with a new release 6.1.1 now: https://github.com/MHumm/DelphiEncryptionCompendium/releases/tag/V6.1.1 So users of older compilers may enjoy this library as well, but I'd still suggest to them to upgrade their Delphi version where possible to enjoy the benefits of newer Delphi versions... 😉
-
Hello, there is a new release 6.1 of DEC available . It is located here: https://github.com/MHumm/DelphiEncryptionCompendium/releases/tag/V6.1 WHat's new since V6.0? * x64 compilation works out of the box now, some unit had not been properly listed for x64 * fixed the following cipher algorithms which were broken on x64: Blowfish, RC6 and Q128 * the Sapphire cipher did work with the unit test vectors but failed for some others * added SHA2-224 hash algorithm * added HMAC and pbkdf2 algorithms * somebody provided a build batch file * there is a command line application included now for setting the IDE's library path * progress even got changed and a VCL demo for that one was added * version history is a separate document in docs folder now Cheers TurboMagic
-
Hello, this is the report of yes another bug a user has found (interestingly the unit tests for the cipher run flawlessly): Sapphire cipher didn't work properly for some data at least. The user thankfully did some investigation and I checked in his proposed fixes in the development branch. Note that the documentation got a small change: version history is a separate document now. So have fun using it TurboMagic
-
He didn't state what those files contain in terms of formatting or charts etc. Maybe the xls only contains values?
-
Sorry, but I have to report a few bugs/regressions which have crept into DEC: These led for the following cipher algorithms failing their unit tests on x64: Blowfish RC6 Q128 In addition there was a bug which prevented compilation on x64 completely. Good news is: these are all fixed and available in development branch on GitHub (see above link). Have a nice evening TurboMagic
-
How to determine the subjective brightness of my screen?
TurboMagic replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
In photo editors you usually have a histogram function which gives a distribution of the brightnes levels as a curve. With that you could find out whether more of the image is dark or bright. Most such photo editors can calculate this really quicky. So histogram might be a keyword to look for. -
Generic circular buffer library released
TurboMagic posted a topic in Algorithms, Data Structures and Class Design
Hello, just a small note that I released a generic circular buffer library under open source license (Apache 2.0) here: https://github.com/MHumm/CircularBuffer Feel free to use it or to contribute to it. Cheers TubroMagic -
Generic circular buffer library released
TurboMagic replied to TurboMagic's topic in Algorithms, Data Structures and Class Design
Today I fixed a few bugs regarding use for storing objects in the buffer in the Remove and Delete methods and I fixed all memory leaks in the unit tests. The GitHub repository is up to date. Does anybody spot any bugs I have missed? Or is the source now "ok" so that the public should be "safe" when using it? -
Hello, I do not have an Android 11 capable Android device yet but need to test some things on Android 11 (scoped storage). Now I had the idea to test in an emulator, even if that's quite slow. I started SDK manager to install an emulator image and set one up, but cannot find anything related to Android 11 there. SDK manager is version 25.2.5 and displays the list shown in the attachment. Android 11 is SDK level 30, but nowhere to be seen. How to get this?
-
Hello, since Android 10 we've got this nasty problem of no longer having direct file access to such folders like TPath.GetSharedDownloadsDir. Now I have managed via some intent call to either ACTION_OPEN_DOCUMENT or ACTION_GET_CONTENT to display some file chooser and when the user selects one I get the Uri of the selected file. With that I can get at an JInputStream and could read out the individual bytes of that stream. But: how to get at the file size properly to know when to stop reading? The Available method should, as per Android's documentation https://developer.android.com/reference/java/io/InputStream#available() rather not be used. Is there any "wraper" available which properly/nicely wrapt this in a TFileStream or something similar? A quick search didn't turn up anything yet. TurboMagic
-
I have a hard time with this as well, as my app up to now just lists all files with my specific suffix stored in downloads folder in a list view and the user can pick one. In addition if he selects one he gets 3 buttons on that entry shown. One for actually opening the file, one for displaying file meta data in a popup and one for sharing it. I'm not sure yet how I can replace all this in an Android 10/11 compatible way. For Android 10 I could use a compatibility setting in the manifest, but for Android 11 this is no longer allowed/doesn't do anything anymore and Android 11 compatibility support is as far as I know required some time in 2021 for Google Play distribution...
-
This might be an alternative: https://developer.android.com/reference/android/content/Intent#ACTION_OPEN_DOCUMENT
-
I'm not sure whether you can access this TPath.GetDocumentsPath folder in Android 10/11 anymore without issues. I tried to access TPath.GetSharedDownloadsPath which had worked up to now but throws an permission error of some sort on Android 10 even after requesting READ_EXTERNAL_STORAGE permission from user...