Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Note that the SQLNCLI is deprecated and replaced by MS SQL ODBC driver 17.
  2. This means you have two active queries on the same connection. Do you use the same DB objects for multiple operations? Do you properly clean up your dataset(s) between each operation? Do you use the same connection shared between threads? (Don't do that - create one for each thread, remember to intialize COM in each thread) Is MARS enabled? Is SQLNCLI or MSSQLODBC 17 installed on the failing workstation? (https://www.microsoft.com/en-us/download/details.aspx?id=56567)
  3. Lars Fosdal

    Access violation at address in module rtl260.blp

    Can it be a mismatch between the .dfm and the declarations in the unit? Are there any "live" components on the form that tries to populate data design time?
  4. I've not used animations much, as I mostly do desktop UI. I assume you have read this: http://docwiki.embarcadero.com/RADStudio/Rio/en/Using_FireMonkey_Animation_Effects ?
  5. You have to manually delete the overriding values that you put in earlier. For version info - you need to change the values to match "all config". After that, the debug/release version will follow the "all config" values.
  6. You have to make sure you have no values in the release or debug options that override the "all config" values.
  7. Lars Fosdal

    30 % and 35 % discount on Delphi

    Being on maintenance sort of makes these mails less interesting. On the other hand - I am starting to wonder if we would be better off with the pure Delphi Enterprise, instead of the RAD Studio Enterprise. We don't use the C++ part, and since they dropped the .NET bits - there is little stuff of interest in RAD Studio. I wonder if it is possible to downgrade?
  8. Lars Fosdal

    Project load error

    Have you tried using a different editor to see if it is possible to remove the offending character?
  9. Since none of us are mind readers, a description of what you want to achieve could be useful. What action should lead to what effect, and when?
  10. Lars Fosdal

    RAD Studio 10.3.3 now available

    That is unfortunately correct. As mentioned above - if you avoid creating Json that embed container data outside your control, you will avoid such issues. Json as per example above { "result": [{ "Id": 10, "Name": "Einlagern" }, { "Id": 30, "Name": "Umlagern" }, { "Id": 400, "Name": "Kundenbarcode" }, { "Id": 100, "Name": "St\u00FCckgutverladung" }, { "Id": 400, "Name": "NVE zu Kundenbarcode" }, { "Id": 0, "Name": "" }, { "Id": 0, "Name": "" }, { "Id": 0, "Name": "" } ] }
  11. Lars Fosdal

    QP suggestion: GetIt cache

    https://quality.embarcadero.com/browse/RSP-26999 Follow link and vote if interested.
  12. Lars Fosdal

    RAD Studio 10.3.3 now available

    Duh! It's the TStringList that has changed... To avoid situations like these, you should build Json that does not embed information that belongs to the container. F.x. type TStatus = class private FId: Integer FName: String; public constructor Create(const aId: Integer; aName: String); function DisplayText: string; property Id: Integer read FId write FId; property Name: String read FName write FName; end; TStatusArray = TArray<TStatus>; constructor TStatus.Create(const aId: Integer; aName: String); begin Id := aId; Name := aName; end; function TStatus.DisplayText: string; begin Result := Id.ToString + '|' + Name; end; function tmyServerMethods.Load_Scanning_Functions(vuserid:longint):TStatusArray; var i:integer; begin result := []; // data is a query ... for i:=1 to vdata.recordcount do begin result := Result + [TStatus.Create(vdata.fieldbyname('statusid').asinteger, vdata.fieldbyname('statusname').asstring)]; vdata.next; end; end;
  13. Lars Fosdal

    RAD Studio 10.3.3 now available

    That was a very weird difference. It looks like the types of Fencoding and FDefaultEncoding has changed. Can it be that the type you intend to use is being "replaced" by type with the same name, due to a scope issue?
  14. Lars Fosdal

    RAD Studio 10.3.3 now available

    Can you describe in what way the Json encoding differs? Json examples would be good! Even better would be small self-contained compilable example that demonstrates the difference between 10.2.x and 10.3.x
  15. Lars Fosdal

    Delphi 10.3.3 CE IDE issues

    Doesn't GetIt die horribly if you disable theming, or did they fix that?
  16. Lars Fosdal

    Dicom VCL Library

    http://codeverge.com/embarcadero.delphi.tools/dicom-viewer-and-dicom-components/1049808
  17. Lars Fosdal

    Debugger in 10.3.3 is useless :'(

    You can pause the VMs so that they use zero CPU. Unpausing is near instant. They will still use memory, though.
  18. Lars Fosdal

    Hebrew in mail

    The devil is indeed in the details.
  19. Lars Fosdal

    Debugger in 10.3.3 is useless :'(

    VirtualBox is really nice for making test VMs for Windows and Linux. Install your favorite Windows version in a clean VM. Hotfix it and adapt it to your liking. Clone it. Install 10.3.2. Snapshot it. Clone the original again. Install 10.3.3. Snapshot it. Voila! Side by side comparison is now possible.
  20. Lars Fosdal

    Changing label text in thread leads to weird display

    If I had to use Synchronize, I'd only use it to trigger an update in the UI. TThread.Synchronize(nil, procedure begin RefreshTimer.Enabled := True end); and perform the actual update in the timer event handler. I have had so many bad side effects with Synchronize, that I simply prefer to not use it at all.
  21. Lars Fosdal

    Sourcetrail support for Delphi

    Delphi.Owner; 😛
  22. Lars Fosdal

    RAD Studio 10.3.3 now available

    I tested building all our code, and luckily no surprises there. Delphi 10.3.3, TMS 9.03, Eurekalog 7.8.1. Actually running the code is next 😛
  23. https://eurekalog.blogspot.com/2019/11/black-friday-and-cyber-monday-sale-2019.html If you deploy Windows apps to clients, tools like Eurekalog and MadExcept are indispensable for information about what goes wrong and where, when your users get an unhandled exception. Disclaimers: We use Eurekalog. We do not get referral discounts.
  24. Lars Fosdal

    RAD Studio 10.3.3 now available

    That makes me assume there will be no new Community Edition until 10.4.0 I was wrong about this.
  25. Lars Fosdal

    RAD Studio 10.3.3 now available

    Was there a 10.3.1 or 10.3.2 Community Edition?
×