-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
Is it possible to compile with just a .dcp? instead of DCUs or *.pas?
Uwe Raabe replied to Joe Sansalone's topic in General Help
Only when you compile with packages. -
How can I link (using LiveBindings) a TDataset on a TDatamodule and a TListView on a TForm in Delphi?
Uwe Raabe replied to RP286's topic in FMX
Make sure to add the unit containing the TDataModule to the (at least the implementation) uses clause of your form unit. -
Indeed, they broke it. I voted for you QP report. 👍
-
ModelMaker IDE Integration Expert for Delphi 10.4
Uwe Raabe replied to Ilde's topic in MMX Code Explorer
Seems you didn't look close enough: ModelMaker IDE Integration Expert Mind the note: -
I do! I actually blogged about it: Do you know Build Groups? There you can find instructions to solve your problem.
-
Any way to get RTTI for non-zero-based enumerated types?
Uwe Raabe replied to PiedSoftware's topic in RTL and Delphi Object Pascal
My approach to these types of problems is to add a record helper for the enumeration that handles the conversion from and to Integer. type TDDArrangementId = (daOutstanding, daWeeklyGap, daAmount, daGapAmount); TDDArrangementIdHelper = record helper for TDDArrangementId private function GetAsInteger: Integer; procedure SetAsInteger(const Value: Integer); public property AsInteger: Integer read GetAsInteger write SetAsInteger; end; function TDDArrangementIdHelper.GetAsInteger: Integer; begin Result := Ord(Succ(Self)); end; procedure TDDArrangementIdHelper.SetAsInteger(const Value: Integer); begin Self := TDDArrangementId(Pred(Value)); end; The usage would then look like this: var myVar: TDDArrangementId; begin myVar.AsInteger := 1; Assert(myVar = daOutstanding); Inc(myVar); Assert(myVar = daWeeklyGap); Assert(myVar.AsInteger = 2); end. -
Firemonkey RESTRequest.Execute error on Windows but not OSX
Uwe Raabe replied to TrevorS's topic in Network, Cloud and Web
Which Delphi version? -
Well, it does. Binary is just - binary, whatever encoding was inside that binary is preserved. All text formats are stored in the encoding you select.
-
File a QP report.
-
The menu entry has been moved to View - Editor.
-
You are working too much...
-
You simply cannot. If that were possible, the NTFS handling wouldn't have to be implemented in the first place.
-
Binary shows the file content as hex values and you can even edit it. Dropping f.i. a dcu file into the editor makes it pretty clear.
-
Finally: Announcing the Availability of RAD Studio 11.1 Alexandria
-
It depends on whether the drive is formatted as NTFS or FAT32. See https://docs.microsoft.com/en-us/windows/win32/sysinfo/file-times
-
Delphi 11.1 Provisioning Access Violation
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
Instead of posting all these messages here without any comment or question, you should better directly file a report at https://quality.embarcadero.com/ Honestly, what do you expect us to do with all this? -
FCaptionsAdded is created in procedure NewStrings, which itself is calle in CreateWnd. The loading process happens way before the window is created, so there is no instance of FCaptionsAdded during loading. Best is to create all instances of the fields inside the class in its Create routine and free them in Destroy.
-
Me too. Perhaps showing your code can shed some light on it.
-
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
The Community Edition in regard to features and limitations is equal to a Professional Edition. The explicit CE restrictions are the version number and the revenue limit or the limit of five developers in the company. One should note that the term revenue means the overall revenue of the company, not only the revenue the company makes with Delphi programming. Anyway, if you are unsure in the details it might be better to ask Embarcadero directly. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
That should be read as: "The CE license is always valid for the most recent CE version." It means, you can't use it for a previous CE version. -
Structured Difference Viewer added to MMX Code Explorer
Uwe Raabe replied to Uwe Raabe's topic in MMX Code Explorer
Yes. Command line options are: -S select structural diff (default) -F select file diff -D:<Delphi version> selects language mode. Accepted values: 10, 10.1 .. 10.5 (yeah, I know) for Seattle to Alexandria <left file> <right file> Indeed, that is an oversight. It tries to open mmsdvmanual.pdf, but I couldn't get a copy from Gerrit as I had hoped. I will disable that entry in the next release until some documentation is available. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
Indeed - and it is intended. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
That depends on the actual use case. The supported target platforms for 10.4 are listed here: Supported Target Platforms As CE is for free it is somehow expected to having drawbacks compared to a paid version. -
Can you create a QP entry, please?
-
After getting tired of clicking the wrong one, I created some simple taskbar icons for Delphi with an apparent version shown. Currently there are icons for Delphi 10 Seattle Delphi 10.1 Berlin Delphi 10.2 Tokyo Delphi 10.3 Rio Delphi 10.4 Sydney Delphi 11 Alexandria This is an example for Delphi 11: And this is what my taskbar now looks like: All these icons are available on GitHub: https://github.com/UweRaabe/DelphiIcons