-
Content Count
438 -
Joined
-
Last visited
-
Days Won
5
Posts posted by Cristian Peța
-
-
4 minutes ago, Morphumax said:Delphi. I just tried to copy the parameters specified in the hint box. There were quite a few.
Maybe I am from ice age and Delphi evolved since then... but this does not compile in D11.3: E2005 'Create' is not a type identifier
Calling TGUIDHelper.Create() in procedure declaration where you need to give a type is somehow strange for me.
-
20 minutes ago, Morphumax said:procedure HandleCommand(Sender: TObject; aLine: TncLine; aCmd: Integer; aData: TGUIDHelper.Create(System.TArray<System.Byte>, System.Types.TEndian).:1<Byte>, aRequiresResult: Boolean; aSenderComponent: string; aReceiverComponent: string);
aData type is terrible... is this Delphi code?
-
Install from ISO.
-
1
-
-
Too little details but a debug call-stack should tell us something more.
-
17 hours ago, emileverh said:I know it's a compiler problem, but why can they do it with classes and not with records....
It's not a compiler problem, but record variables are not class variables and when you declare a record variable it is allocated automatically.
You enter into a infinite loop of circular allocation.
type TRecA = record; TRecB = record FieldA: TRecA; end; TRecA = record FieldB: TRecB; end; var a: TRecA; //infinite circular allocation of memory
-
19 hours ago, Brandon Staggs said:Anyway, doesn't the "Low DPI" setting for the form designer solve the dfm issue?
Yes, but imagine someone with 200% display scale with a magnifying glass trying to adjust something on a form because the form is half the size.
-
2
-
-
@weabow TFDPhysSQLiteDriverLink is in FireDAC.Phys.SQLite.pas
But if you copy-paste from here it won't work because after last "k" character there are some non-visible chars: EF BB BF EF BB BF
-
You only need a iOS 16 device.
BTW I don't write today iOS app but but at that time I learned that upgrading iOS on the device should be done only when there is a confirmation that debugging from Delphi works on new iOS.
-
14 minutes ago, techdesk said:I cannot simply communicate with it using Delphi code. I need a "translator" between my code and STM32 code.
What is "STM32 code"?
Delphi code is not a communication protocol (similar to a spoken language) but a programing language. With Delhi code or any programing language you can not communicate.
-
5 minutes ago, techdesk said:The robot tells you that should you need to interface with him then you need to use his protocols and language.
Then you want to write a transpiler in Delphi to translate Delphi code to "STM32 language" and back?
But what is "STM32 language" ?
Just found something where Pascal is mentioned (link: https://www.st.com/en/development-tools/stm32-ides.html):
QuoteSTMicroelectronics' STM32 family of 32-bit ARM Cortex-M core-based microcontrollers is supported by a wide range of software integrated development environments (IDEs) with C, C++, Pascal and JAVA support and debuggers from STMicroelectronics and major 3rd-parties (free versions are available) that are complemented by tools from ST allowing to configure and initialize the MCU or monitor its behavior in run time.
And here (link https://smartsolutions4home.com/how-to-program-stm32/) states: "The only correct option here is C. Don’t bother with other creations."
-
17 minutes ago, Lajos Juhász said:That's not possible. The Welcome page is working fine for me (installed from the ISO image). I doubt that the ISO and online installer has different setup for the GetIt.
QuoteCustomers who have installed RAD Studio 12 using the online installation process won’t have the ability to add new platforms and core features to the product via the Manage Features dialog. In order to do this, they will need to uninstall and then reinstall using the new inline release.
I understand from the link above that who installed with old online installer GetIt will not work.
-
13 hours ago, Brian Warner said:I can't get to GetIt via Welcome page or Tools menu in either 11.2 or 12.0. Any further updates?
For D12 there is a new installer because GetIt server changed.
I suppose you need to install with the new installer in order to work Welcome page or Tools menu.
-
3 minutes ago, Lajos Juhász said:2.) Enter RSP-26436 into search (you can find it at the upper left corner of the page) and you cannot copy paste it from the text above as it contains unicode characters.
Finally... upper right corner (not left).... basic and advanced search doesn't work
-
32 minutes ago, LGROX said:The problem is reported in RSP-26436
You have not posted a link and probably it's a stupid question but how to find a RSP by number?
-
7 hours ago, Willicious said:Does anyone know of a way to get a new serial for 10.4.2 CE?
As @Uwe Raabe said, Embarcadero does not want to do this.
7 hours ago, Willicious said:Anyone had any luck with contacting Embarcadero for help?
You are the only one who can give Embarcadero a good reason to give you a new 10.4.2 CE license.
9 hours ago, Willicious said:Both 11 and 12 run into problems when getting the project set up, so simply installing the latest version unfortunately isn't the solution.
If you have sources I don't think this is a show stopper. Ask help here if there is something blocking you to use D11.
-
That would be Delphi4Python.
Otherwise you need a inter-process communication. For example your Delphi code can run in REST server.
-
I said before that mm represents also minutes if after hh. It states in documentation:
mm
Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
-
That field is not read by MemoView? Why convert it to String then again to TDateTime?
In script you can use <MyTable."MyDateTimeField"> to read it as Variant that will keep TDateTime as it is (actually a Double).
-
1
-
-
1 hour ago, Ali Dehban said:The value is pure TDateTime.
It is as text and it must be formatted like regional settings because you are using StrToDateTime() to convet this text to TDateTime.
-
What value is in that frxMemoView text before change and what after?
-
You want to change the text value from a frxMemoView from date-time to display hour and minutes? Because mm is month... and HH is not documented.
See documentation:
https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.SysUtils.FormatDateTime
EDIT: Now I see that mm can show minuts if after hh.
-
1
-
-
Are the script code using regional settings? Do you need the user to decide the format?
-
22 minutes ago, Ali Dehban said:but those formats don't apply in invisible mode
What is invisible mode? A Windows service?
23 minutes ago, Ali Dehban said:The specific report that I'm talking about has some fields that are formatted by Pascal script to 24-Hour format or AM/PM to meet each customer's needs.
Can you show the code of that script?
-
DELETED: some misunderstanding about subscription....
New RAD Studio 11.3 (Build 2024) posted Feb 20, 2024
in Delphi IDE and APIs
Posted
Server outage and GetIT server changed. Old online installer does not work anymore.