Jump to content

Tom F

Members
  • Content Count

    211
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Tom F


  1. I've been using the freeware Cromis.DirectoryWatch for many years. I recently grabbed a much more recent version (from 2018) from here: https://github.com/CPsoftBE/BackupOfCromis.

    And reworked my code to use it on Windows 10, Delphi 11.2.

    It works great, except when I hit CTRL-ALT-DEL, when I get the range error shown below.

    I confess to being a total "script kiddie" when it comes to this kind of deep OS code.  It appears the "if Assigned()"-code block is only done when a user enters CTRL-ALT-DEL. Perhaps this error deliberately caused by Microsoft when someone does CTRL-ALT-DELETE?

    I don't want to just ignore this problem, but don't have any idea how to safely fix it. 

    Any suggestions?

     

    image.thumb.png.e2a760f535c3dff79d1753626f12dacc.png


  2. 1 minute ago, corneliusdavid said:

    Isn't that the same thing?

    Yeah. You're right My sloppy thinking and typing.

    Maybe my skin's a bit thin. But, I'd think that a good marketing department would have omitted sending this email to customers like me who are current on their update subscription. That would've saved me from wasting my time on this.


  3. 4 minutes ago, corneliusdavid said:

    Yes, I believe you got it right. It's a sale on a new purchase which usually comes with 12 months of updates free but this offer will extend that to 18 months. I guess that's a pretty good deal if you're in the market for a new purchase.

    Thanks, @corneliusdavid.  Why did you conclude that it's only for someone re-subscribing to updates rather than also renewing?


  4.  

     

    I just got EMB marketing email that says, "Get 25% OFF plus 18 months of Maintenance for the price of 12 for RAD Studio, Delphi, or C++Builder, and don’t miss a release for 1.5 years."

    WTF does EMB that mean by that???  If a 12-month license was normally $100, then would I get 18 months for $75?

    Is it me, or does their marketing department need some who <checks notes> actually know how to write unambiguous copy?  Or are they deliberately trying to make it difficult for us?  
    ¯\_()_/¯

    image.thumb.png.c8b75ffadc5d14b055560f73a3a423ed.png

    I


  5. Just now, corneliusdavid said:

    That's not similar at all. Ctrl+Shift+C is Class Completion; use Alt+UpArrow or Alt+DownArrow to jump between implementation and interface of a method. Neither of those are what I was describing.

    Ooops. My bad. You're absolutely right. II've fix my erroneous post. 

    (Funny how things can be so well embedded in rote "muscle-memory" but not so well embedded in verbal memory.)


  6. On 4/26/2022 at 8:51 AM, corneliusdavid said:

    My favorite and most used feature of the Parnassus plugin is in the Navigator plugin with it's Go To Shortcut. With a default hotkey of Ctrl+G, it drops a stack-based bookmark, incrementally searches as you type a destination, jumps there once you select it, then Escape takes you right back. I'm often going up to the implementation section to add a unit to the uses clause and then want to continue where I was at. This is a huge productivity boost for me.

     

    FYI: There's similar functionality built into the IDE.  Use CTRL-SHIFT and UP-ARROW and DOWN-ARROW to jump back and forth between the current method in the implementation and interface section. 


  7. Hi, Rollo,

    Thanks for the suggestion that I use the xcode profiler.  The beauty of FMX is that I don't have to know anything about xcode to write great programs on macOS.

    And, I love FMX and the fact that I can use the same code on Windows and macOS.  

    But the lack of a turn-key profiler for FMX on the Mac is an example of how FMX can be a real pain in the ass on Macs. 

    Do you recall what kind of results you got when you used the xcode profiler?  Did you get source level timings and counts?  Is xcode FMX friendly?

    I hate the fact that it seems that I have to become a system-level programmer to get any timings for my FMX app.

     


  8. Good point, Rollo62.

    Yeah, the macOS Activity Monitor I've used. It shows that my app is using 40% of a modern machine's CPU.

    I'm trying to find where in the code the time is being spent. A code profiler.

    So, I'm looking for a way to monitor at the Delphi procedure level. In Windows, I use Nexus Quality Suite in Windows. (I abandoned AQTime long ago as inferior and poorly suppported)

     


  9. The details will depend on what video player you are using.

    If you're using YouTube, then you can easily discover the format to start a video at a specific time by clicking the Share button and then adding a checkbox to the "Start at ###" box.

    For example   https://youtu.be/ORK_Xwpt2B8?t=3 starts at time = 3 seconds. (And, yes, that's me being interviewed about my Delphi spectroscopy software.)

    Is that sufficient for your needs?


  10. I'm still waiting here too for the long-promised bookmarks feature to become available again.

    In the absence of clear, honest communication from EMB, I'm assuming that their management has decided to allocate resources to other issues rather than to fix current bugs.  This would be considered a failure in most professional development organizations.

    EMB management has also apparently decided to conceal from their customers that they have made this decision and why.

    If we can't trust EMB to make good decisions and to communicate honestly with us on small issues like this, I fear we can't trust them on anything.

    Delphi continues to suffer from a thousand cuts like this one.  
     

    • Sad 2

  11. 6 hours ago, aehimself said:

    - Inability to remove a file from the archive

    - Does not support ZIP64 and LZMA (which can be solved by Zip2)

    - Inability to read data from "corrupted" archives, like 7-zip can

    - If the ZIP file was created by C# (don't know which lib) TZipFile sometimes says that the archive is not corrupt, but there are no files in it. With 7-Zip I can see and extract the file without issues

    You reported these on EMB's Jira?

     


  12. Thanks, @Lajos Juhász  I just checked again and it properly appeared when I searched using the search box.

    That's very weird, but I tried a half a dozen times an hour ago and it failed.

    Anyway, I'm glad to see it there.

    THANKS for your response.

     


  13. I'm unable to find TurboPower's Lockbox (3.0 I think) in 11.1's GetIt.  Does it appear in your GetIt?

    I don't recall EMB publishing a list of what's missing from this release, so I'm asking here. 

     

    I'd compile Lockbox myself, but there are a lot of downloadable Lockboxes out there  so I don't know which one is the most recent.  Any help on that?

    TIA


  14. And, after having installed CodeSite from GetIt, programs using it won't compile. "Unit 'CodeSiteLogging' not found.

     

    Trying to uninstall it fails too.  

     

    image.thumb.png.7d7cc3a3529dfc2a7e6699cb8370272b.png

     

    Clearly my installation failed.  Thanks, EMB.  You probably more than doubled the time it takes me to migrate. 

    • Sad 1

  15. 5 hours ago, corneliusdavid said:

    If you installed D11 into the default folder, you should have four folders added to your path:

    • C:\Program Files (x86)\Embarcadero\Studio\22.0\bin
    • C:\Program Files (x86)\Embarcadero\Studio\22.0\bin64\
    • C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl
    • C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\Win64

    What path?


  16. Against my better judgement,  I took the leap and installed 11.1.  

    First, I completely ripped and cleaned out 11 because, well, I've been burnt too may times by failures when upgrading.

    My last tool to install is the JEDI Code Library from GetIt.

    Installing results in an error from JediInstaller "The code execution cannot proceed because rtl280.bplwas not found."  And now I can't uninstall it, getting the same error.

    I found a rtl280.bpl here C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ and one in in bin64, so I'm guess that some path in the IDE under Options isn't set properly.

    Anyone have any suggestions on how to get past this problem?

×