Jump to content

John R.

Members
  • Content Count

    44
  • Joined

  • Last visited

Posts posted by John R.


  1. 18 minutes ago, Uwe Raabe said:

    I am happily taking that task for you. Can you just list the installed packages accountable for that number of standard actions? I'm not sure if I was able to identify all of them.

    You had to make me open it again, thanks 😉

    As far as I can tell, this would be: DevExpress, ImageEn, TRichView, SynEdit.

    See screenshot:

    standard-actions.thumb.png.c24b00665ac9768a89cd862a2576b01f.png


  2. I "hope" that I have a world record with a fantastic 2 minutes and 51 seconds to show the standard action list (for your sanity, you can fast forward most of the video): https://we.tl/t-iC5uIavpK7

    This was done without a safety net using Delphi 12 patch 1 in a VM with plenty of memory, disk space and processing power. Can someone beat me ? 😎

    Embarcadero employees and/or Delphi enthusiasts are free to use that video, should they care to file a report. I've already spent way too much time on this to even bother looking for, registering to, and learning how to properly use the latest usable web site to report this problem.

    Meanwhile, I sincerely hope that I've added all the standard actions that I need in my app to avoid opening this dialog again 🤞

    • Thanks 1

  3. I'm wondering if there is some workaround to this problem I frequently have. My test project's DPR looks like this:

     

    program tests;

    {$IFNDEF TESTINSIGHT}
      {$APPTYPE CONSOLE}
    {$ENDIF}

    {$STRONGLINKTYPES ON}

    uses
      System.SysUtils,
      {$IFDEF TESTINSIGHT}
      TestInsight.DUnitX,
      {$ELSE}
      DUnitX.Loggers.Console,
      DUnitX.Loggers.XML.NUnit,  // <-- This line is removed from time to time by Delphi IDE
      {$ENDIF }
      DUnitX.TestFramework,

      // [...]

     

    But every time I add a new unit to that project and save it, the Delphi IDE decides to remove this line, and only this one: DUnitX.Loggers.XML.NUnit

     

    Is that a known problem ? Is there some workaround ?

     

    I'm using Delphi 12 Patch 1 with TestInsight 1.2.0.6


  4. Indeed, I own a certificate and nothing is prohibiting me from adding a virus / spyware /adware or anything harmful whenever I want.

     

    You mentioned the sponsored version of FileZilla which seems to include some questionable content: some anti-viruses seem to treat it as harmful, while others seem to report it as Adware. It doesn't matter if it has been signed or not.

     

    Regarding to the importance of a code signing certificate, it depends how you plan to distribute your application and your target audience: Windows will try to discourage people from installing applications which are not signed, and some people such as myself, will hardly if not ever (without extra precautions such as VMs) run any non-signed EXE software.

     

    You have access to plenty of documentation about the benefits of code signing online: https://www.digicert.com/signing/code-signing-certificates

     

    Your choice!

    • Like 1

  5. Alternatively, your UI seems to be very similar to a table/grid layout so you could potentially use a grid component with support to input fields such as combo boxes. Those grids are usually highly optimized to handle thousands of rows with various data types and input options. They usually allow the dynamic instantiation of input controls (such as combo boxes) when a row is actually being edited to save resources.

    I highly recommend DevExpress' ExpressQuantumGrid: https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid

    Or their ExpressVerticalGrid: https://docs.devexpress.com/VCL/403720/ExpressVerticalGrid/concepts/vcl-vertical-grid

    Both of which I extensively use for this kind of tasks.

    • Like 2

  6. 19 hours ago, Anders Melander said:

    The script language is easy but integrating DWScript into an application is hard; There is zero documentation and the examples are insufficient.

    I've used DWScript since Delphi 5 but I still find it hard to use.

    I can confirm that but once integrated, it is very stable, frequently updated with lots of unit tests! I highly recommend DWScript.


  7. Quote

    Note that we could not support the new IDE in VCL v23.1, because of breaking changes in the VCL platform...

    Quote from the latest blog post from DevExpress: https://community.devexpress.com/blogs/vcl/archive/2023/12/19/vcl-subscription-drawing-engine-performance-enhancements-for-complex-data-forms-and-other-reasons-to-upgrade-to-v23-2.aspx

    Also, this article mentions a nasty bug with Delphi 12: https://quality.embarcadero.com/browse/RSP-43037


  8. 2 minutes ago, Anders Melander said:

    Success! Pushed and merged to master. 

    Thank you to all that helped. You really saved me a lot of time. Especially since I was pretty unfocused and preoccupied (new job, lots of other projects, summer finally arrived). 

    Congrats! Fantastic work to both of you. Thank you.

    Even though it is high above my knowledge, it is a pleasure following this thread between @Jan Rysavy and @Anders Melander. I'm glad that such knowledgable people are still part of the Delphi community and hope that this project will get sponsored by Embarcadero somehow. Thanks again.

    • Like 2

  9. On 10/4/2022 at 11:23 PM, Vincent Parrett said:

    Thanks. One thing to bear in mind with usb is that it is very sensitve to latency - so not sure how it would work in high latency connections. I have fiber at home and get 6ms pings to the data center where our servers live - which is fine. I suspect anything over 30ms might be a problem for some devices.  

    nSoftware just announced PKI Proxy. I'm still using "old" file-based certificates but it looks like it could be a viable solution: https://www.nsoftware.com/pkiproxy/


  10. 3 hours ago, David P said:

    Thanks all, much appreciated.  WinLicense seems to be the most appealing so far.

    We have never tested this solution as we've discarded them for multiple reasons:

    • Their website does not contain any legal information. We couldn't find out where this company is located which is highly problematic
    • Their website content seems to be too good to be true, and despite some color changes, I believe that it has exactly the same content for years
    • There is no public forum, or public feedback that we could find about their solution
    • It is not that big of a deal but for a security related company, having website pages with a .php extension is not a great way to show technical skills

    Don't get me wrong, they might be very good but for the missing legal information alone, I won't even try their products.


  11. We've been using WyDay LimeLM for years now with mixed feelings. On the plus side:

    • Provides Delphi samples and easy to integrate
    • Supports both named and floating licensing models
    • Supports online/offline licensing
    • Keys have custom extra data attached to implement advanced scenarios such as version/date checks...
    • Easy and reliable REST API for key management...
    • Support is fast and skilled but you have to push them hard to prove that you or the end-user is not at fault, which is taking a lot of time and efforts
    • There is a public forum which can be browsed to evaluate their support and get useful info: https://wyday.com/forum/

    But:

    • I haven't seen such a stubborn company/developers elsewhere: when something is not working correctly, they ALWAYS say that end-user messed up their computer and must re-install everything, or that we, as developers, caused the bug. Never will they admit that its their fault!
    • They've promised features for YEARS as "coming soon" without update or delivering: https://wyday.com/forum/t/4823/licensechest-is-coming-soon/
    • In the past, they've implemented server side breaking changes, such as limiting the number of IPs which can connect to their API, without previous notice, apologies, and despite multiple critics on their forum, they merely relaxed their policy saying they are right, customers are wrong 😲
    • You are captive to a monthly subscription. They have increased the price in the past and it is very hard to do anything about it: if you change your licensing system and stop using them, how would you handle customers using older versions of your software with perpetual licenses ?

    All in all, it's a decent solution to get started fast and strong. But given the price, I expect better. We have now past the hard times with them so I'm not sure if we will ever change, but I can't say that I'm not frequently looking for alternatives, including home made solutions.

     

    Hope this helps.

    • Like 1

  12. 15 hours ago, Brandon Staggs said:

    An update late last year changed how they process query strings on local file paths and completely broke how we were using it and since we use the evergreen, we had to scramble to get out an update to restore the functionality

    Interesting. Thank you for the heads up.

    Is that the issue that you are referring to? https://github.com/MicrosoftEdge/WebView2Feedback/issues/3032


  13. 21 hours ago, Der schöne Günther said:

    We are using the built-in TEdgeBrowser which is sufficient for our needs. 

    Thank you for your feedback. Did you receive support requests from people who didn't have Edge installed on their computer ? I haven't tested how the application would behave in such a case and I suspect that it would error on startup due to the use of initialization code.

    21 hours ago, Der schöne Günther said:

    I am guilty of taking the quick & dirty way out of Edge blocking local files by default.

    This doesn't feel "optimal" indeed. I hope that a future Delphi update will offer a better way to achieve this.


  14. I'm targeting Windows 8+ 64-bit with Delphi 11 and was wondering if anyone is using the Edge browser control in production and which one you are using ?

    I've spotted the following 4 options:

    • TEdgeBrowser which is part of Delphi 11 installation. It doesn't seem to provide support for custom options such as --disable-web-security to load local files
    • TMSFNCWebBrowser from TMS Software. It doesn't seem to handle --disable-web-security either
    • WebView4Delphi from Salvador Díaz Fau which supports that option, but needs a few tricks to work properly: use a timer for initialization and listen to parent form's MOVE messages to resize properly. This looks a bit weird compared to other components but not a show stopper
    • CEF4Delphi also from Salvador Díaz Fau which I've discarded as being far too large to be distributed with my application

    It looks like only WebView4Delphi could work for my use case as it is the only one supporting --disable-web-security and I was wondering if anyone had feedback about using these in production or if you have any other recommendations?

    • Like 1

  15. 15 hours ago, DxDublin said:

    I did a more thorough test with these four localization tools.

    Thanks for your feedback as it will be helpful to me down the line.

    I'm still using Sisulizer which still works very well and have all the features that you describe. Unfortunately, his author died and the tool is not maintained or available anymore 😞
    It looks like
    his brother is the creator of Soluling (from the screenshot, they sure look quite similar) and it might be a good path forward in case I can't use Sisulizer anymore due to a future Windows / Delphi breaking update!

    I also like what I see with Better Translation Manager and will surely investigate that one when the time comes. Hopefully, I will be able to import existing translation into those tools 🤞

×