Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 01/14/22 in all areas

  1. In case anyone is interested, and better, want to contribute, I've upgraded THunSpell which was originally written by Stefan Ascher to support Unicode Delphi and created a github repository. Attached Demo screenshot.
  2. How to delete all the files just in case you need to for some unknown reason. Manual uninstall of RAD Studio/Delphi/C++Builder 11.0 Alexandria Launch the License Manager from the bin folder (by default “C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\LicenseManager.exe”) and delete any trial or beta (Test Field) license that you can find. Check it under “License Details” in the center column. Under your Control Panel’s Program and Features Add/Remove Program uninstall the following entries: RAD Studio 11 version 22.0 Please follow these instructions to remove any leftover files: 1. If Windows 64-bit, remove the C:\Program Files (x86)\Embarcadero\Studio\22.0 directory (or the custom folder you had used). 2. Remove the C:\Users\Public\Documents\Embarcadero\Studio\22.0 directory 3. Remove the C:\ProgramData\Embarcadero\Studio\22.0 directory. 4. Remove the %APPDATA%\Embarcadero\BDS\22.0 directory. 5. Remove the HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\22.0 registry key 6. If Windows 64-bit, remove the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Embarcadero\BDS\22.0 7. If Windows 64-bit, remove the following files from C:\Windows\SysWOW64: BDEAdmin.* CC32*.DLL Midas.* Xerces*.DLL If you had problems in the second step (uninstalling from Windows Control Panel), try this Microsoft tool to solve un-installation problems: https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d
  3. Angus Robertson

    ICS V8.68 announced

    ICS V8.68 has been released at: http://wiki.overbyte.eu/wiki/index.php/ICS_Download ICS is a free internet component library for Delphi 7, 2006 to 2010, XE to XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney and 11.0 and C++ Builder 2006 to XE3, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney and 11.0. ICS supports VCL and FMX, Win32, Win64 and MacOS 32-bit targets. The distribution zip includes the latest OpenSSL 3.0.1 win32, with other versions of OpenSSL being available from the download page. Major Changes in ICS V8.68 include: 1 - V8.68 is a minor release, mainly HTTP client and server improvements including new request and response headers to assist browser caching and conditional requests, improved error reporting to help diagnose failed HTTP requests, and improvements in the HTTP REST component allowing it to save files including resuming failed downloads and download files of any size. There are minor fixes in various components, and updates to installing on MacOS and C++ Builder. There is also a new File Clean-Up demo ideal for deleting the old log files that many applications (including some ICS samples) leave on systems. 2 -The HTTP client TSslHttpCli now keeps the Etag response header as ResponseEtag, allowing applications to save it with the page content, and when requesting a refresh to add the request method ReqIfNoneMatch or ReqIfMatch to avoid downloading the page again. Improved RequestDoneError to give more information than a simple abort, added httperrOutOfMemory and httperrBgException which happen while receiving and processing data in the OnDocData event and httperrSslHandShake. For range downloads, added the ContentIfRange request header which can send an RFC1123 date or Etag so a partial download only happens if the file is unchanged. 3 - Previously, the HTTPS REST client TSslHttpRest always downloaded content to a TMemoryStream with content size being limited to MaxBodySize (default 100 MByte), and generally restricted by memory to less than 250 MByte. To remove this limitation, added the HttpMemStrategy property with THttpMemStrategy on how to handle downloads: HttpStratMem only TMemoryStream; HttpStratTemp uses a work file in the system temporary directory for sizes larger than MaxBodySize; HttpStratFile always writes a named file HttpDownFileName (with .part extension during download); HttpStratResume is similar to HttpStratFile but supports resume of failed partial downloads (with .http extension for resume information). Property ResumeMinSize defines the minimum sized partial file that should be resumed, rather than start again (default 64K). Added ShowProgress property that causes download information to be sent to the OnHttpRestProg event. 4 -The HTTP server TSslHttpServer now supports the If-Range, If-Match and If-None-Match request headers for conditional pages using Etag or last modified date, and sends 304 not modified for matches, to help with caching. Added an ETag header to responses in AnswerStream and AnswerPage when we can create one from a file modification date and size (base64 CRC32), or if the EntityTag property is specified in the client onGetDocument event before using hgSendDoc or hgSendStream, perhaps a CRC32 of the entire content from a cache. The 304 not modified response now includes more recommended headers. Also add a Date: header to AnswerStream and AnswerPage responses to help with caching. 5 - The Multi HTTPS client TIcsHttpMulti has been updated to a fix a problem that meant large files failed download with only an abort error if too large for TMemoryStream, now downloaded to TFileStream with .part extension and renamed up successful completion. 6 - The previous ICS release added support for the OpenSSL 3.0 release. Now it's been available for three months it has been added to the main distribution, the samples SslInternet directory now has both OpenSSL 1.1.1m and 3.0.1. ICS now supports YuOpenSSL 3.0 and 1.1.1 versions as commercial DCUs allowing applications to be used with OpenSSL without needing separate DLLs. 7 - In TIcsFileCopy, the DeleteFiles method now supports a new Zipped property so files are zipped with .zip extension before being deleted, useful for cleaning up old logs to save space (requires VCLZip). The OverbyteIcsXferTst,dpr sample has a new File Clean-Up tab to test the multiple DeleteFiles method, it allow files older than x days or a specific date range to be archived/zipped (to save space) or deleted, ideal for deleting the old log files that many applications (including some ICS samples) leave on systems. 8 - In the FTP client TSslFtpClient, using the PORT command to set Active mode now prevents other FTP clients sharing the same port number and address, usually only a problem with a small port pool (which is not recommended). 9 - Updated the trusted root certificate bundle files, lots of changes from Microsoft since June, Google is now issuing it's own certificates. Updated the build-in sslRootCACertsBundle, few gone, now total 59 certificates commonly used. 10 - ICS should now build with C++ for RAD Studio 10.4 and 11.0, fixed the 11.0 packages and various Windows API related units, including for Win64. More detailed release notes are at http://wiki.overbyte.eu/wiki/index.php/ICS_V8.68
  4. Ian Branch

    Printing in Dark Mode????

    Hi Team, Is it just my environment??? I thought I would give Delphi Dark Mode a try. Seems OK while working /developing. Not overly enthused about it but willing to let it grow on me. I printed a small unit.. WTH!! Unreadable. All the white text on the screen was printed white on the printer. Ummmm. Is there a fix for this or do I have to switch to an IDE lighter mode before printing?? Yes, I print in Colour but I would have thought this would have been accommodated. Regards, Ian
  5. I am rebuilding an old multi-device application in Delphi Alexandria. The target was android-32. Now I want to build it for android-64. I have added several files to android-32 like splash screen, data files, multimedia files, etc. etc. that I want them to be added to the android-64 platform. Is there any way to copy all relevant the deployment settings (Project->Deployment) from android-32 to android-64. How can I have them copied to the android-64 target platform? Thank you for your response!
  6. Ian Branch

    Printing in Dark Mode????

    Let's just say I am on the wrong side of 70 and I prefer to sit down with a cuppa and a piece of paper and read through a new piece of code, making notes on the paper as I go. In this case it was only a small unit. Most cases I just print longer function and/or procedures so I can digest them. Old habits die hard.....
  7. If it is a Memo or other tstringlist property, the image should be OCR-ed and resulting text should be pasted instead
  8. Angus Robertson

    ICS V8.68 announced

    ICS V8.68 is now also available from GetIt in RAD Studio 11.0. Angus
  9. Ferenc

    RS 11 FMX Android JFileProvider not found

    Helped! Thank you!
  10. What is the problem with conventional coding? Why the ascii art and why not use some properties and a normal try finally?
  11. Edwin Yip

    Spell Checker implementation?

    So after: I failed to upgrade LS Speller to support Unicode Delphi, found that the TMS one from 2017 is not fast enough for me, none of the above mentioned Hunspell wrapper has a dialog which directly operates on TRichEdit/TMemo In the end I found on Torry.net another hunspell wrapper originally written by Stefan Ascher, and have upgraded to support Unicode Delphi. Check my new post if you are interested:
  12. Uwe Raabe

    DPI and Scaling Discussion

    In Delphi 11 there is an option to speed up VCL styled applications which is probably not commonly known, because it wasn't communicated much: Vcl.Themes.TStyleManager.UseParentPaintBuffers While the linked doc is pretty much useless, the common description gives some more insight: Styles Performance Improvements
  13. Uwe Raabe

    REST Request is not working well on Delphi 11

    The second call seems to have some query parameters inside the URL while the first one does not. This issue has a workaround in the comments: https://quality.embarcadero.com/browse/RSP-35365
  14. dummzeuch

    Bookmarks dead?

    A mess like this is the reason why I am usually not thrilled when Embarcadero buys some tool or some components/library and takes over maintenance.
  15. dummzeuch

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Your definition of clumsy is somebody else's definition of efficient. Ctrl+K Ctrl+G to drop a bookmark, Ctrl+Q Ctrl+G pick up the topmost bookmark, and Ctrl+Alt+Q Ctrl+Alt+G to replace the topmost bookmark is as difficult to remember as any other key combination. I actually appreciate that they did not take away yet another simple keyboard shortcut from us plug-in developers. Talking about WordStar: Ctrl+K N and Ctrl+Q N is yet another key combination to access the Toggle Bookmarks, so these Stack Bookmarks shortcuts fit right in.
  16. corneliusdavid

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Yes, Delphi has had Toggle Bookmarks for a long time where you hit Ctrl+Shift+N (where "N" is the number 1..9) for 9 different bookmarks per file. Since Delphi 10.1 Berlin, you can also use stack-based bookmarks but by default, they use a clumsy collection of the old WordStar key combinations I can't remember. The Bookmarks and Navigator plugins add a lot of nice features which make it usable.
  17. Thanks for that list, it added one more item to mby list too, regarding the LicenseManager See below, hope that helps too: Backup - IDE (old) Backup projects : Last project states, under IDE (old) - IDE (old) Backup libraries : Last library states, under IDE (old) - IDE Keystores, SlipFiles, Setups, ... UnInstall - Delphi AddOns … - Delphi : Interbase - Delphi : IDE … - AdoptOpenJDK : Java Cleanup IDE ( is no full cleanup needed ) - : Just uninstall IDE, Interbase, AdoptOpenJDK - : keep the registry untouched - : remove all file links - : Cleanup CatRepo, SDK, etc. Whole folder can be removed => C:\Users\Public\Documents\Embarcadero\Studio\ - : Keep AppData Roaming: => C:\Users\NAME\AppData\Roaming\Embarcadero\BDS\21.0\ (containing keystores, etc.) Cleanup Paranoic Checklist => Launch License Manager from bin folder and delete any trial or beta (Test Field) license that you can find. Check it under “License Details” in the center column. 0. Backup: Save all Projects, save VM !! Save all Rx-Sources and Rx-Samples for later comparison 1. Launch the License Manager from the bin folder (by default "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\LicenseManager.exe") and delete any trial or beta (Test Field) license that you can find. Check it under “License Details” in the center column. Beta: Field testers should also do the following (and others may want to as well): Delete the Godzilla license from License manager before uninstalling it or during the installation of RAD Studio 10.x --> Removed BetaLicense, keep the normal license 2. Uninstall from ControlPanel Under your Control Panel's Program and Features Add/Remove Program uninstall the following entries: RAD Studio 10.2 version 19.0 --> Remove the IB2017 Server (Automatic) --> Remove RadStudio (all GetIt Packs are removed, until finished) If you had problems in the second step (uninstalling from Windows Control Panel), try this Microsoft tool to solve uninstallation problems: http://go.microsoft.com/?linkid=9779673 --> EasyFix Lösungen werden nciht mehr zum Download angeboten 3. 32Bit: remove the C:\Program Files\Embarcadero\Studio\19.0 directory (or the custom folder you had used). 64Bit: remove the C:\Program Files (x86)\Embarcadero\Studio\19.0 directory (or the custom folder you had used). --> Admin 4. Remove the cd C:\Users\Public\Documents\Embarcadero\Studio\19.0 directory --> 20.0 CatalogRepository, BLP, DCP Remove the cd C:\Users\Public\Documents\Embarcadero\Studio\dbExpress Remove the cd C:\Users\Public\Documents\Embarcadero\Studio\FireDAC --> All under Embarcadero removed Remove the cd C:\ProgramData\Embarcadero\Studio\19.0 directory. --> All under Embarcadero removed (Licenses RadStudio, IB2017) Remove the cd %APPDATA%\Embarcadero\BDS\19.0 directory. --> !! Keep all new .keystores for Android --> Removed all under Embarcadero (AppData\Roaming) Remove cd C:\Users\reg_w\OneDrive\Dokumente\Embarcadero\Studio\ --> CodeTemplates, Projects --> !! Keep only old iOS/Macous SDKs Remove the HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0 registry key --> Remove complete unter Embarcadero 32Bit: remove the HKEY_LOCAL_MACHINE\SOFTWARE\Embarcadero\BDS\19.0 registry key 64Bit: remove the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Embarcadero\BDS\19.0 --> Remove complete unter Embarcadero Remove the .lldb folder for Android SDK 5. Search registry "Embarcadero", remove any leftovers BDS.bdsdeploy, Embarcadero Modeling, MUICache, GetIt, ToolsAPI, Midas, CommonTasks, Interop, BorDb, GetItHelper, BorDbHelper, Midas, TogetherInterOp, TogertherOptionInterop, Current Software Explorer TypedPaths - cannot be removed WinNT CompatibilityAssistant, IB Unwise !! Indexer Path, SourceInderxer Path - kept because of conted items !! Install Properties kept !! MS Win SDK installer kept !! UserSettings kept !! FireWallRules kept !! Path kept - cleanup via Windows ControlPanel "Umgebungsvariablen bearbeiten" --> Remove all Embarcadero references Path: OLD: C:\Program Files (x86)\Embarcadero\Studio\20.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\20.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl\Win64; C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath; D:\Prg\Embarcadero\Studio\19.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl;D:\Prg\Embarcadero\Studio\19.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\Win64; %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\GitExtensions\;%SYSTEMROOT%\System32\OpenSSH\ 5. 32-bit: remove the following files from C:\Windows\System32\: BDEAdmin.* CC32*.DLL Midas.* Xerces*.DLL 64Bit: remove the following files from C:\Windows\SysWOW64\: BDEAdmin.* CC32*.DLL Midas.* Xerces*.DLL --> Was already removed by uninstaller
×