Jump to content

JonRobertson

Members
  • Content Count

    289
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by JonRobertson


  1. On 10/21/2024 at 12:30 PM, corneliusdavid said:

    I see Top/Left/Width/Height/ClientWidth/ClientHeight change a lot, too--and I'm pretty sure I don't move those components every time I open a form.

    This was a constant issue for me. Doing nothing other than opening a form and closing it would prompt me to save changes and update component positions in the DFM.

     

    Until I started using DPI Unaware mode (bds.exe "/highdpi:unaware"). Now it never occurs.

    • Thanks 1

  2. There are a lot of resources available, if you search for them.

     

    https://www.google.com/search?q=delphi+database+books

    https://en.delphipraxis.net/topic/4965-delphi-books/

     

    You will have to use a database engine of some form, and there are several to choose from. Below is a short list that are free to use.

     

    Do not require install of a database server:

    https://www.sqlite.org/

    Also look at https://docwiki.embarcadero.com/RADStudio/Athens/en/Local_SQL_(FireDAC) (which uses SQLite)

    https://docs.huihoo.com/firebird/manual/ufb-cs-embedded.html

     

    Database servers:

    https://www.mysql.com/

    SQL Server Express

    https://www.postgresql.org/

     


  3. On 9/11/2024 at 9:44 AM, PeterPanettone said:

    Perhaps it would be helpful if the bookmarks were switched off by default during the initial installation.

    I think it is more helpful that they are on by default. Once I noticed them, I went to MMX options to turn them off. I suspect many users wouldn't notice the option was available if they were not on by default.


  4. Just now, softtouch said:

    So the Delphi 64 bit compiler and 64 bit lsp are only in the expensive enterprise and architect versions? Why is that?

    From the "What's new" presentation, it was said that the primary benefit is to extremely large applications (LoC, etc) and that companies with applications that large already used Enterprise or Architect.


  5. 2 hours ago, Uwe Raabe said:

    Just those have been identified as a potential source of problems recently.

    I reported issues with severe IDE instability over a year ago during a call with my account manager and one of the product managers. The PM suggested that I uninstall each add-in, one at a time, which I should have done before complaining but I hadn't taken the time.

     

    Once I uninstalled Navigator and Parallel Debugger, IDE lockups and crashes dropped from a dozen times a day to less than once a month. I've never installed Bookmarks. I suspect the culprit was Parallel Debugger. But I didn't isolate the issue further.


  6. I've been working in Delphi 7 projects for the past year. Some are being migrated to 11.3+ and some are staying with Delphi 7. I always refactor with statements away by hand, but even that can be tricky. For example, I learned after refactoring several "with dataset do ... while not Eof do ; Next;" constructs, and overlooking one call to Next, that TForm has a public Next method, related to MDI children of a MDI parent. :classic_blink:

     

    https://docwiki.embarcadero.com/Libraries/Alexandria/en/Vcl.Forms.TForm.Next

     

    Hello infinite loop! Now, go away. :classic_wink:

    • Like 1

  7. On 8/25/2024 at 2:28 AM, Dmitry Onoshko said:

    I understand it doesn’t (shouldn’t?) use a thread-per-client approach

    Thread-per-client does not scale well and likely would not work well for the number of connections that you've mentioned. Take a look at this answer, as well as the Raymond Chen post referenced.

     

    Maximum threads limit per process in windows 10? (superuser.com)

    Does Windows have a limit of 2000 threads per process? (The Old New Thing blog)


  8. 4 hours ago, dummzeuch said:

    Check your project options, you might have to change the order of forms.

    If your About Dialog is listed as an auto-created form, you probably want to remove it from that list. This is the dialog in D11 You would select frmAbout and click the > button to move it to Available forms. There is no reason to create the dialog unless the user selects the menu option to view it.

     

    image.thumb.png.2c1ae11a7974897bba4238aa36904043.png


  9. 21 minutes ago, Jud said:

    I put "procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);" in the form's class.

    Did you "put the procedure in the class" by double-clicking the event in the Object Inspector? Or did you manually add it to the class declaration?

×