Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/08/25 in all areas

  1. It does, but in this case, since the operation involves a native type (string) on the left and a custom user type (TBcd) on the right, the operation gives the custom type an opportunity to decide whether to cast the left side to the custom type, which it does in this situation, and then the failure occurs during that cast from string to TBcd.
  2. The error message indicates that the compiler is not evaluating the right-hand side expression as you expect. Instead of converting V to a string and concatenating the result to the string literal it is trying to convert the literal to a variant containing a TBcd, adding the two numbers, and then convert the result to a string. If you have a masochistic streak put a breakpoint on the statement, run to it, call up the disassembly view and F7 through the generated code (debug dcus need to be enabled). I would not call that a bug, just unexpected behaviour. But as you know, in programming the compiler is always right... 🙂
  3. Berocoder

    Slow performance. HELP!

    We have an application that pump data from main database to another smaller database. So it just reads from production DB. But it reads a lot! When we turned off that most of the conflicts was gone. The use case for the application is analyze of data. Turn off that is not so popular in management. But we know more now at least
  4. Zoran Bonuš

    FireDAC connection lost on setting TFDQuery's SQL.Text

    Setting SQL forces the FDQuery to close. My guess is that in combination with pooled connection, it might release the connection too. Have you tried setting the SQL before starting the transaction or even setting the FDQuery.Connection ? You might try to debug and trace into the line where you set the SQL to see what after-effects it has in your context.
  5. This also fails in XE5 and 11.2.
  6. Lajos Juhász

    Custom Time format in TDBGrid

    FireDAC is using the meta information from the connection library to determine the data types. You can try to use cast to change the data type for the field in your test application.
  7. Vandrovnik

    Need a cheap tablet. Recommend?

    You can also use remote lab: https://developer.samsung.com/remote-test-lab
  8. David Heffernan

    Delphi 12.3 Patch and McAfee

    McAfee, like so many AV products, the cure is worse than the disease.
  9. Zoran Bonuš

    Konopka raize components

    And KSVC 8.0 has just been released https://blogs.embarcadero.com/introducing-the-brand-new-konopka-signature-vcl-controls-8/#What_is_new_in_Konopka_Signature_Controls_8
  10. Brandon Staggs

    Delphi 12.3 is available

    Delphi 12.0, .1, and .2 have been especially hard for us with our million+ line project. 80% of the time Find Declaration doesn't work, and the other 20% of the time it seems random which way works -- CTRL+G or CTRL+Click, sometimes one will work when the other one doesn't. We of course cannot email the "crown jewels" entire proprietary project to Emba for them to test with. I understand they need reproducible examples, but they have also said during the release webinar that they are aware LSP doesn't work acceptably and will be replacing the current system with a completely new approach in 13. Well, this is a fundamental, basic function of any IDE, and personally I question this decision to add new features of any kind while something so basic is known to be non-functional for so many users. But, trying to be fair, I'm sure not all of their developers are qualified to work on LSP so they will naturally be focused on multiple areas at once. I can guess at why LSP has such a hard time with our code base, and I have spent a lot of time trying to remove legacy anti-patterns and cleaning out uses clauses, etc, but in the end, it all compiles just fine, so it should not be a problem for the editor to navigate. An editor should be able to navigate and offer functional code completion with broken code, let alone code that compiles without issue.
  11. Hi I thought it make sense to share the link to our discussion on that topic in the TestComplete forum. https://community.smartbear.com/discussions/testcomplete-questions/delphi-12-x-officially-unsupported/267672 Well, I know that a lot is not properly running (e.g. VCL Styles). But until now, we were still able to run our large number of test cases. But after dropping AQTime, now SmartBear silently drops the Delphi support for TestComplete as well. TBO, the new SmartBear subscription model is far too expensive compare with our last 3 year renewals. And we do normally not use any software on "rental base" that stops suddenly. But transferring all the tests to something "new" is a nightmare ... somehow a deadlock again. regards Günther
  12. Martin Wienold

    Physically reduce jpeg image size??

    We use WIC Image Scaling in one of our applications. Some information with examples https://weblogs.asp.net/bleroy/resizing-images-from-the-server-using-wpf-wic-instead-of-gdi And an MSDN article https://docs.microsoft.com/en-us/windows/win32/wic/-wic-bitmapsources-howto-scale
×