Jump to content

BruceTTTT

Members
  • Content Count

    23
  • Joined

  • Last visited

Everything posted by BruceTTTT

  1. For what it's worth, we use floating point numbers a lot here in our scientific work, and the accuracy is critical. Add in unbiased rounding rules (i.e. banker's rounding), multiplication, division, and averaging first, and it's even more complicated. Between Delphi, C#, and the shared SQL Server backend, I got so frustrated with rounding variations, storage of numbers (e.g. 1.025 sometimes stored as 1.025000001 or 1.0249999999) that I ended up writing my own rounding routines using string conversions, custom digit management, etc.
  2. BruceTTTT

    Bookmarks dead?

    Ditto. At least they could tell us when and if it's expected so I could stop checking.
  3. BruceTTTT

    LSP - Alexandria

    Thanks for this info. I've been wrestling with this issue for a while. 10.x had the ability to turn LSP off and use the legacy version, which often fixed the Ctrl-click issues. Not being able to Ctrl-click an identifier drives me nuts and I'm always looking for a good resolution. Newly opened projects seem to have less of an issue, but it is definitely the longer units for more complex projects that fail.
  4. BruceTTTT

    Parnassus Bookmarks for Delphi 11 Alexandria?

    But the best feature for me is to be able to quickly drop a stack-based bookmark, move anywhere, then simply hit Esc to go back where you were.
  5. BruceTTTT

    Google Charts in uniGUI

    I concur. Never been able to produce a web app so quickly. www.unigui.com
  6. BruceTTTT

    Enabling One-Click in Delphi 11 Welcome Page

    Thanks for this too, much better. Now if I can just get the older "Open Recent" back, I hate the two columns and the layout.
  7. BruceTTTT

    Delphi 11 first look issues

    My experience too. But putting the cursor on a new property (e.g. AutoDropDownWidth in TComboBox) still fails since it loads 10.4.2. I can go to the DocWiki, but that takes a bit to find what you're looking for. But there's not that much new in 11 so I guess it's not too big of a deal.
  8. BruceTTTT

    Delphi 11 first look issues

    Is Help working for anyone else? It's not for me. Sometimes I get the 10.4.2 help, other times nothing (when pressing F1).
  9. BruceTTTT

    r3588 and Alexandria

    Wonderful! This is loaded and working. Many thanks.
  10. BruceTTTT

    r3588 and Alexandria

    Appreciate the work too. I've been trying to modify the source myself to get it compiled on Alexandria, and making some progress, but I've hid a brick wall in the GX_OtaUtils unit. Telling me there are function declarations that don't agree with each other and I cannot find where the multiple declarations are (e.g. GxOtaGetEditorLine) for the life of me. I just can't use Delphi without GExperts. It's too painful when I've been used to it for years. Until GExperts is working, D11 will have to wait...
  11. BruceTTTT

    RAD Studio 11 Alexandria is now available

    Is there a full white paper of all changes, bug fixes, additions, etc. yet? I can't seem to find a detailed list.
  12. Same thing is true for the Parnassus IDE add-ons as well evidently.
  13. BruceTTTT

    How do I check for empty rows in a string grid?

    For what it's worth, if you "delete" rows by reducing the RowCount, I'd recommend clearing the cell contents first. I found many situations where I'd reduce the RowCount, then increase it later and the cell contents were still there. This may have been fixed in later versions of Delphi as I've not checked it in a while.
  14. My experience exactly as well. Can't figure out a pattern either, gets annoying at times. I seem to have the problem more with 10.4.2 than 10.4.1 (but 10.4.2 fixed a lot of other problems).
  15. BruceTTTT

    TTitlebarpanel and VCL styles

    My experience is similar too. Does not work with TMainMenu, and it has painting issues (e.g. add a TSpeedButton to the TTitleBarPanel and toggle the Flat property). The ShowCaption property doesn't seem to work either.
  16. BruceTTTT

    Ole DB (Ado) for MSSQL un-deprecated by Microsoft

    Is the ZeosLib for FireDAC? I.e. is it installed as ODBC so FireDAC can see it? Otherwise the the msoledbsql OLE DB driver works fine with dbGo... Bruce
  17. BruceTTTT

    Ole DB (Ado) for MSSQL un-deprecated by Microsoft

    There are no "problems" with the native client except for compatibility with versions of SQL Server. Depending on which version of the server you are running (including with Express), you have to pick the correct native client. There are times my software has had to support 5 different versions of the server (2008 all the way through 2019), and supporting a different driver each time gets annoying fast. So far with my testing, the msoledbsql ("Driver", not "Provider") and the related ODBC 17 driver just released by Microsoft are compatible with all versions of SQL Server. This is really helpful when the app or client needs to access different versions. And as mentioned above, ODBC 17 is slower. Bottom line for me right now, dbGo using this new driver is still the fastest and most agile solution. Supporting ODBC 17 as a choice is great for options, but in all my testing, there is still overhead vs. using the OLE DB "Driver" directly. https://docs.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-2017 In their words: ... SQL Server Native Client OLE DB provider (SQLNCLI) remains deprecated and it is not recommended to use either for new development work.
  18. Is there any way to force FireDAC to use the new OLE DB Driver (not the older Provider) in the msoledbsql file? Discussed here: https://docs.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-ver15 https://docs.microsoft.com/en-us/sql/connect/odbc/windows/microsoft-odbc-driver-for-sql-server-on-windows?view=sql-server-2017 https://support.microsoft.com/en-us/office/connect-access-to-sql-server-050d88f3-b2d6-4e76-b6f9-f3c556f139ea The native client drivers are deprecated, and I can use the related ODBC 17 driver, but it's slower. ADO (dbGo) with the new OLE DB driver is the fastest, but I'd like to switch to FireDAC and I'm forced to use the ODBC 17 driver if I do that because of the incompatibilities of the native SQL driver (that FireDAC uses) and different SQL versions.
  19. BruceTTTT

    Ole DB (Ado) for MSSQL un-deprecated by Microsoft

    I've done some basic testing and for the newest drivers (e.g. ODBC 17 and the OLE DB (msoledbsql) "Driver" (not "Provider")), the speeds in decreasing order (fastest at the top): OLE DB (msoledbsql) SQL Server Native Client ODBC 17 The native client drivers *are* deprecated by Microsoft, replaced by the OLE DB driver and ODBC 17 ones listed above. Since FireDAC cannot use the OLE DB driver, I'm forced to pick either the ODBC 17 or use the native client. This is frustrating because the native client has issues with SQL 2019, and the ODBC driver (while it can connect to any version of database) is slower.
  20. BruceTTTT

    10.4.1 issues

    The TSpeedButton implementation is broken in 10.4.1 and is still not fixed. Read here: https://quality.embarcadero.com/browse/RSP-30755
  21. BruceTTTT

    More performance Stringgrid sorting algorithm help

    I had my own heap sort algorithm that worked well and allowed for nested row sorts, and controlling sort based on integers, strings, and dates. It worked very well and was much faster than a bubble sort. For fun, I rewrote this using TStringLists, exporting the column data (that's sorted) to the stringlist, using its sort routine with the anonymous function parameter to select the type of data, then moving the original rows around based on the results of the TStringList sort. To my surprise, this was faster than the heap sort. Not by much, but noticeable with thousands of rows. I now use it as my native grid sort.
  22. Try this: pushd \Program Files (x86)\Embarcadero\Studio\21.0\bin rsvars.bat GetItCmd.exe -c=useonline bds.exe
  23. BruceTTTT

    Macro Template Problem with ]

    Using Delphi 10.4, if I create a template that ends with a closing square bracket, GExperts blanks out the template every time and won't accept the information. Adding a space after the ] will work though. e.g. Cell[|] will be blanked. Any ideas? Bruce
×