Jump to content

Lars Fosdal

Administrators
  • Content Count

    3504
  • Joined

  • Last visited

  • Days Won

    115

Everything posted by Lars Fosdal

  1. Lars Fosdal

    HiKey 960 / 970 ARM development kits?

    I guess that takes the 960 off the table. The 970 mentions supporting Google Android NN neural network computing framework, which means it is Android 8.1 (API level 27) or above.
  2. Lars Fosdal

    Service Location Protocol API pascal unit?

    Not sure if helpful at all, but could https://sourceforge.net/projects/openslp/ be wrapped with C++Builder for consumption in Delphi?
  3. Lars Fosdal

    Import .NET Assembly list is empty

    https://docs.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac
  4. I'd start by identifying for certain which drivers that are being used by the two clients.
  5. MARS (Multiple Active Result Sets on the same connection) doesn't work without the advanced clients, IIRCC. https://docs.microsoft.com/en-us/sql/relational-databases/native-client/features/using-multiple-active-result-sets-mars?view=sql-server-ver15
  6. In https://support.microsoft.com/en-us/help/201978/how-to-use-printer-device-fonts there are some clues to doing device font substitution, but if that doesn't work out, I am afraid that you have to raise the issue with the maker of the printer.
  7. Is there a TrueType version of the built in printer fonts available anywhere? It could be that the MS canvas handling fails to get font info for the built in fonts, if the fonts don't exist in the Windows font registry. Installing the TrueType may help?
  8. If FetchAll is not used, and there is more than the default row limit number of rows, RecordCount may show the same as the row limit (f.x. 50). This means that if you use a for loop for var n:= 1 to RecSet.RecordCount do begin // ... process RecSet.MoveNext; end; You may only get the first 50 records, and not the actual number. That could possibly lead to this situation where the RecSet is "unfinished". It is safer to use while not RecSet.EoF do begin // ... process RecSet.MoveNext; end; which will fetch more chunks of 50 rows until all rows have been fetched - or use FetchAll 😛
  9. Note that the SQLNCLI is deprecated and replaced by MS SQL ODBC driver 17.
  10. 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)
  11. 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?
  12. 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 ?
  13. 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.
  14. You have to make sure you have no values in the release or debug options that override the "all config" values.
  15. 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?
  16. Lars Fosdal

    Project load error

    Have you tried using a different editor to see if it is possible to remove the offending character?
  17. 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?
  18. 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": "" } ] }
  19. Lars Fosdal

    QP suggestion: GetIt cache

    https://quality.embarcadero.com/browse/RSP-26999 Follow link and vote if interested.
  20. 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;
  21. 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?
  22. 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
  23. Lars Fosdal

    Delphi 10.3.3 CE IDE issues

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

    Dicom VCL Library

    http://codeverge.com/embarcadero.delphi.tools/dicom-viewer-and-dicom-components/1049808
  25. 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.
×