-
Content Count
3416 -
Joined
-
Last visited
-
Days Won
113
Everything posted by Lars Fosdal
-
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.
-
The devil is indeed in the details.
-
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.
-
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.
-
Sourcetrail support for Delphi
Lars Fosdal replied to Jacek Laskowski's topic in Delphi IDE and APIs
Delphi.Owner; 😛 -
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 😛
-
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.
-
That makes me assume there will be no new Community Edition until 10.4.0 I was wrong about this.
-
Was there a 10.3.1 or 10.3.2 Community Edition?