Jump to content

Tom F

Members
  • Content Count

    223
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Tom F


  1. I create a non-modal form like this:
     

    procedure TForm1.Button1Click(Sender: TObject);
    begin
      FNonModalForm := TForm2.Create(Self);
      FNonModalForm.Show;
    end;


    What's a good way to have a non-modal Form2 signal its owner Form1 that the non-modal form has been closed by the user so the owner can free Form2?

    AFAIK, it can't be done in a callback from Form2.FormClose because that's too early for the owner Form1 to free Form2.

     

    Send a Windows message to the owner form?


  2. This thread is quite old.  But, given some outstanding problems with 10.4, I reverted to 10.3 and encountered the problem described above where Parnassus wouldn't load.

    If anyone else is having this problem and comes across this thread, EMB suggested to me that I start with a clean IDE in 10.3.  For fun, I followed their directions (below), but, because I wasn't willing to configure the IDE and all the packages etc., I only performed the special launch once.

    It turns out that performing their suggested registry step once and then reverting back to the standard shortcut to start the IDE somehow resolved this issue. Bookmarks loads fine now! YMMV.  I don't know what magic happened behind the scenes that made this work.  Or, perhaps there was something else going on here that this fixed.

    Anyway, in case it's helpful for you, here's what they recommended and what curiously worked for me:

     

    One option you can try is to reset the IDE settings to the default, which will also clear any 3rd party tools from being referenced.  Then you can retest the Bookmarks installation in either Rio or Sydney if you choose.  Any 3rd party or custom component or plugins will need to be reinstalled.  Any configuration settings will need to be reconfigured, etc.

    Rio 10.3:
    -----------------------
    Open the shortcut for Rio 10.3, and pass a -rTest1230 parameter into the target field, like so:

    "C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\bds.exe" "-pDelphi" -rTest1230

    What this will do is create a new node in the registry for the IDE settings called 'Test1230':

    HKEY_CURRENT_USER | Software | Embarcadero | Test1230 | 20.0

    If for some reason you need to go back to the original settings, you can remove the -rTest1230 and it will use the original settings:

    HKEY_CURRENT_USER | Software | Embarcadero | BDS | 20.0
    -----------------------
     


  3. 22 minutes ago, Remy Lebeau said:

    Since the bug has workarounds, has Mitov updated his code to apply the workarounds until the bug is fixed?

    Mitov has said that he is waiting for EMB to fix their bug because the work-around would be prohibitively expensive to implement.


  4. 9 minutes ago, JSPUS said:

    If I got this right, there is a bug in Sydney that prevents Mitov's codes from working properly and I assume Mitov is aware of it. If that's the case, then it is fair to say Sydney is not supported in Mitov's codes.

     

    Mitov is a EMB MVP.

     

    This issue may raise further questions if Mitov has also brought the bug to EMB attention and as been unable to get a resolution.

    @JSPUS Your statements above are all correct.  If you click the link in my OP, the "Reporter" of the bug is listed as Mitov.  He has also posted in the Comments section of the report.  

    The report contains a 30-line self-contained code sample that reproduces the problem.


  5. 28 minutes ago, Der schöne Günther said:

    Can you link us where that was proposed?

    Thanks for you thinking on this issue.
     

    I am an end user of the libraries. Not having source code, I don’t know anything more about the problem or proposed fixes than what I’ve shared in my post. 

     

    Tom


  6. I hate complaining in public about our beloved Delphi because by doing so I add to the negative reputation that it has.  

     

    So, first: here are some positives: I'm a big fan (and decades-long user) of Delphi.  I used Delphi at a Fortune 1000 company where we created several very successful, industry-changing, million-line international applications with it.   I use Delphi now in a smaller company to create award-winning products for macOS and Windows.  Delphi (and Turbo and UCSD Pascal before that) has been a major contributor to my successful career.  


    But, here's the negative: I'm tired of wasting money on annual maintenance plans. But I need them to fix older bugs or for fixes or access to new platforms. It seems I always have to wait until the first few bug-fixing patches from EMB. If I don't wait until one or two patches have been released, it seems that I and the rest of us becoming unwitting beta testers for EMB. 

     

    But, now, it's worse: I am totally unable to use Sydney to develop our products. 

     

    This problem is a memory leak. It was reported last summer: https://quality.embarcadero.com/browse/RSP-30215. And it hasn't been fixed by EMB.  

     

    This bug prevents us from being able to compile our product in Sydney because we depend on the (wonderful) Mitov libraries which the bug affects.

     

    So, the subscription we paid for almost one year ago has been useless to me.

     

    The above URL contains a simple sample code to reproduce the problem.  EMB has acknowledged the problem.

     

    I'm told that a workaround was proposed by EMB but that the workaround would take an enormous amount of time to implemented by us.

     

    I recently expressed the above concerns to Marco and Jim.  But, I have not heard back anything positive. I'm worried that they may have once again postponed fixing this bug. So I thought I'd post about it here.

    If you're using the Mitov libraries, you're in the same boat as I am. I hope you (and anyone else reading this) will vote for this issue at the above URL so that perhaps it will be fixed in the near future.

    Meanwhile, I'm stuck paying for updates that don't work.  

     

    From my perspective, EMB's programming team appears to be seriously under-resourced.  

     

    I am very worried that Atana Popov and the group that manages Delphi has abandoned the product and are just squeezing as much revenue for as little investment as they can. It certainly looks that way from here. 😞

     

    • Like 1

  7. @David Heffernan I am surprised to see you using a pointer.  I've always felt that one of Delphi's strengths was the diminished need to use pointers, since pointers introduce the risk of weird, unpredictable errors.

    I'm not criticizing, but rather asking why you choose to use pointers here. Is it because you wanted to make it as fast as possible, or do you feel pointers are clearer and sufficiently safe or ?

     


  8. I had 10.3.3 running with the GetIt Bookmarks for more than a year.

    I installed 10.4 and it broke 10.3.3 bookmarks.

    So I uninstalled Bookmarks from 10.4 and 10.3.3 and then reinstalled Bookmarks on 10.3.3 using Getit.

    When starting 10.3.3 I get this message:

     

    Quote

    Exception EModuleLoadException in module ParnassusBookmarks.dll at 00042EE7.

    Could not load ParnassusCoreEditor library for platform XRio.
    Search path: C:\Program Files (x86)\Common Files\ParnassusShared\.

     

    Any suggestions on how to get 10.3.3 Bookmarks to work. I've given up on 10.4 until EMB fixes some bugs and until FixPack exists from whomever. 😞  It seems likely that I wasted my money purchasing the 10.4 update earlier this year.


  9. Any suggestions on a fast charting component for FMX (macOS/Windows. Mobile not needed) that can do a chart like the one below? We're charting a live stream of data that's up to 4 or 5 datasets/second.

    I haven't dug into Steema or TMS offerings yet.

    Up until now we've used SDL's ChartPack (shown below) in our Windows-only app and are very happy with it.

    Preferably will have auto-scaling, pan, zoom, color controls, and be able to handle 10 or 20 thousand points.

     

    image.thumb.png.ba84f3fd524f8652364ededaf8f27713.png


  10. 1 minute ago, Dinar said:

    I'm so used to Parnassus Bookmarks that without this plugin I feel discomfort when working in the IDE (I also tried the analogues from GExperts and CnPack)

    Me too!  It seems like such a trivial thing but my habitual typing is so ingrained to use Parnassus Bookmarks that I’m incredibly unproductive and frustrated without it. 

    • Like 1

  11. For years I used the ISO because I seemed to have problems with the web install.

    I know this release is supposed to unify the two installers and eliminate problems.

    However, I still used the ISO.

    And then I couldn't get GetIt to work to download CodeSite, etc. 

    I asked about this at the GoToMeeting just now.  I needed to RTFM. 🙂

    Be sure to read the release notes (http://docwiki.embarcadero.com/RADStudio/Sydney/en/Release_Notes) which state:
     

    Quote

    If you use the offline installer, RAD Studio will not be able to access the GetIt Package Manager until you manually switch to "online mode". To do this, we recommend using the GetItCmd.exe tool: GetItCmd.exe -c=useonline

     

    • Like 3
    • Thanks 1

  12.  
     
     
    1
    19 minutes ago, Darian Miller said:

     

    The problem with NQS is lack of updates. 

    It sounds to me that your main complaint is an economic one? — the vendor hasn't updated the software during the year following your initial purchase (during which time it would be free.)

    I've had that happen and I know it can be disappointing. TBH, being a small one-man business myself, I've done that on a few occasions to my customers too. 😯 

    The good news as far as I'm concerned is that there are no bug fixes or improvements I'm anxiously waiting for in NQS.  I suppose the UI could use a facelift and some rough edges in the workflow polished. But, in general, NQS does what I need it too: I was able to quickly narrow down the bottlenecks in my application and test my fixes.  

    Tom


  13.  
     
     
     
    Just now, Anders Melander said:

    Isn't that just the old TurboPower profiler. The UI doesn't seem to have been updated since then. Ugh.

     

    Yes, it's the old TurboPower profiler.  The UI didn't bother me.  No doubt it could be improved, but I found it easy to understand and get my work done.  


  14. I used AQTime for many years, but it seemed to me that SmartBear wasn't really interested in the Delphi market and their product suffered ... and was expensive.

    I more recently purchased Nexus Quality Suite and was very happy with it.  Great tool, great support, great modern product: https://www.nexusdb.com/support/index.php?q=node/27156.  

    As someone previously said, "You get what you pay for."  NQS was well worth what we paid for it.

    • Like 3

  15. 11 hours ago, Bill Meyer said:

    First because unless the routine is very long,  it is pointless,

    Bill, not to start a flame war, but I love the  trailing comment on procedures:

     

    procedure SomeOp;

    begin

     

    end; { SomeOp }

     

    Why?  Because when I'm scrolling up from the bottom of a unit, when a procedure's end; statement comes into view, I can immediately identify the procedure without having to scroll up further.

    As you say, the IDE does not strip empty procedures that have a comment like this. But, IMO, that's a small price to pay.

    What does bug me is that when I use Shift_Ctrl-C, the IDE puts new methods between the end;  and the comment.  But even with that hassle, I still prefer the comment.

×