-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
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.
-
Service Location Protocol API pascal unit?
Lars Fosdal replied to eivindbakkestuen's topic in Network, Cloud and Web
Not sure if helpful at all, but could https://sourceforge.net/projects/openslp/ be wrapped with C++Builder for consumption in Delphi? -
https://docs.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac
-
FireDAC / SQL Server "Connection is busy with results for another hstmt"
Lars Fosdal replied to Nathan Wild's topic in Databases
I'd start by identifying for certain which drivers that are being used by the two clients. -
FireDAC / SQL Server "Connection is busy with results for another hstmt"
Lars Fosdal replied to Nathan Wild's topic in Databases
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 -
Printer.Canvas.TextOut Procedure's X Position is Ignored with Built-In Printer Fonts
Lars Fosdal replied to MikeMon's topic in General Help
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. -
Printer.Canvas.TextOut Procedure's X Position is Ignored with Built-In Printer Fonts
Lars Fosdal replied to MikeMon's topic in General Help
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? -
FireDAC / SQL Server "Connection is busy with results for another hstmt"
Lars Fosdal replied to Nathan Wild's topic in Databases
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 😛 -
FireDAC / SQL Server "Connection is busy with results for another hstmt"
Lars Fosdal replied to Nathan Wild's topic in Databases
Note that the SQLNCLI is deprecated and replaced by MS SQL ODBC driver 17. -
FireDAC / SQL Server "Connection is busy with results for another hstmt"
Lars Fosdal replied to Nathan Wild's topic in Databases
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) -
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?
-
Create a new Animate from listviewitem PlaceOffset not work How do it ?
Lars Fosdal replied to xorpas's topic in FMX
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 ? -
"Project / Version info / target - all configuration" broken?
Lars Fosdal replied to Yaron's topic in Cross-platform
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. -
"Project / Version info / target - all configuration" broken?
Lars Fosdal replied to Yaron's topic in Cross-platform
You have to make sure you have no values in the release or debug options that override the "all config" values. -
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?
-
Have you tried using a different editor to see if it is possible to remove the offending character?
-
Create a new Animate from listviewitem PlaceOffset not work How do it ?
Lars Fosdal replied to xorpas's topic in FMX
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? -
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": "" } ] }
-
https://quality.embarcadero.com/browse/RSP-26999 Follow link and vote if interested.
-
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;
-
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?
-
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
-
Doesn't GetIt die horribly if you disable theming, or did they fix that?
-
http://codeverge.com/embarcadero.delphi.tools/dicom-viewer-and-dicom-components/1049808
-
You can pause the VMs so that they use zero CPU. Unpausing is near instant. They will still use memory, though.