

DelphiUdIT
Members-
Content Count
686 -
Joined
-
Last visited
-
Days Won
14
Everything posted by DelphiUdIT
-
https://learn.microsoft.com/en-us/windows/msix/package/sign-app-package-using-signtool#using-signtool
-
I don't know if there is difference, but have you tried to use: "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool"
-
Build time affected with an updated component...
DelphiUdIT replied to Ian Branch's topic in General Help
From embarcadero official docs https://docwiki.embarcadero.com/RADStudio/Athens/en/What's_New: May be this is ? -
[SOLVED] Java unsupported class version error with Delphi 12
DelphiUdIT replied to Magno's topic in Cross-platform
I work with real machine not VM, and I don't have Android Studio installed. That tool works and show me the same window, but after install the USB driver (in Extras may be) it stopped works. I use a personal path for Catalog Repo (no UTF chars) ... But it's not a real problem for me. You can do the same with other means. EDIT: UPDATE: I used the old "Android SDK Tools" and delete the USB Driver. Now the new Embacadero tool is working again ... 🙂Install again the USB driver ... the Embarcadero tool seems to still works ... (with some graphic glitch about old Anroid tools). -
[SOLVED] Java unsupported class version error with Delphi 12
DelphiUdIT replied to Magno's topic in Cross-platform
Yes, this is tue, after updating with that tool the USB driver, it (the tool) doesn't work anymore ... same issue. But of course you can use the command line to install other sdk platforms. This is because when you used something from Embarcadero (but if try to update Android platforms was the same) your Windows environment was setting for Java version less the 17. JDK, JRE,SDK or like you want to call them MUST BE version 17 or upper to managed class file version 61. In this case the error seems to say you had active Java SDK version 8. I normaly used to set this two environment "variables" and I never had problem with JAVA or Android SDK: Of course with the correct personal path and be sure the you have Java version upper or equal to 17 (by now, in the future will see). -
The ISO also install all that you see in the previous post. One time only, some years ago, in a fresh VM I had to install some prerequisites packages before (Vc++ 2015 redist, .net 4.5 and jdk). I always used ISO to install Rad Studio.
-
I can confirm that UTF8 will be saved with BOM, certainly in the 12.3 editor.
-
In my ISO 12.3 (Enterprise) there is an option to install the JDK, But it is the same like you have.
-
It's always the 17th (it was as option to install). But I use Oracle SDK version 22th. I don't install other JDK. And I install the new SDK / NDK without problem. Like always you should install other SDK version by hand. Set in the Windows Environment : Sò no check will be done.
-
[dcc32 Error] Type parameter 'T' must be a non-nullable value type
DelphiUdIT replied to EugeneK's topic in RTL and Delphi Object Pascal
TRecordLoader<T> = class sealed class function Get: T; static; If you use full generic declaration it works. -
SetLength of TArray<double> in ASM get strange result
DelphiUdIT replied to wqmeng's topic in RTL and Delphi Object Pascal
The best thing you can do is debug the identical procedure write in Pascal and see how the compiler acts ... -
The status of "System.SysUtils.Now" timer resolution & accuracy
DelphiUdIT replied to Rollo62's topic in RTL and Delphi Object Pascal
Look this, I think that the information on the NOW() function in Embarcadero page is old and no more accurate.: https://devblogs.microsoft.com/oldnewthing/20170921-00/?p=97057 -
I used Python in some projects (with P4D). I found the approach very simple and effective, except for the versioning of the various components. The version of Python, with all the various libraries that it brings with it (and if AI is used it is even worse) is quite critical. For now I still prefer the old method of "wrapping" the libraries from C in Pascal if available. However, I understand that using Python as a base can be in some cases (especially for those who do not have much experience) certainly the best choice.
-
If there are not any wrapper for Pascal ,you need to arm yourself with a lot of patience and start creating your wrappers from the definitions of the include (i.e. the files with the extension ".h"). It might not be an easy path, quite the opposite. However, there are some tools that can help you: https://github.com/neslib/Chet this utility allows you to create pascal wrappers from .h files. Keep in mind that what is done will not be perfect and you will have to get your hands on it. Also keep in mind that you can only use C includes, NOT C++. And you will also have to convert the code by hand. Another equally valid alternative is to pass the include file and ask some AI to convert it to Pascal ... Surely some forum user will be able to give you some further and better advice. This is an example of conversion of the Indigo APIs performed by the tool I proposed to you, you need to get your hands on it but it is a start. I wish you good work. Indigo.pas Indigo.h
-
Guidance on FreeAndNil for Delphi noob
DelphiUdIT replied to Paul Dardeau's topic in RTL and Delphi Object Pascal
Nothing ..... wrong replay -
Is not an issue, is the normal function of energy saving, like implemented in "balanced power" profile of a laptop PC. You have disable some of the "mechanism" that allow the system to moderate the use of the battery when the laptop is in battery mode, only for BDS.EXE application. If you prefer performance to energy saving is one of the right approach.
-
EXE(.exe) still appears in process list, though the service destroyed.
DelphiUdIT replied to sp0987's topic in General Help
I don't know where you catch those info. Like I told, my experience, I nevere see an executable (service or not service) stay live after "termination". In my developer machine runs only basic services, and i start and stop programmatically the services that I need project based (normally 4/5 services for 4 times per days). May be is a "design basis" by Windows for some kinds of executables or (more likely) some thread or method of the executable is "hanging". 20 seconds is historically the standard timeout within which a closing service is killed by the system, if it does not terminate itself (I remember a value like "KillServiceTimeout" in the registry that keeps the default time, but it could be called something different). -
EXE(.exe) still appears in process list, though the service destroyed.
DelphiUdIT replied to sp0987's topic in General Help
@sp0987 And, what are your needs ? If the service maintain the zombies for some seconds ... it is so, but really I never see this. When I stop a service the EXE disappear from task manager (of course, if the application has no pending things like threads waiting). If you want that the same exe doesn't run more then one time, use a mutex at the start of the application: var hMutex: THandle; // Creates a unique synchronized object in the operating system hMutex:=CreateMutex(Nil,False,'Global\MyApplication'); // Checks that the object is not already 'owned' by some other process (program instance), // in which case exits the program if (WaitForSingleObject(hMutex,0) = wait_TimeOut) then exitprocess(255); -
SSL certificate of this site is expired ...
-
Default() and subrange types
DelphiUdIT replied to Der schöne Günther's topic in RTL and Delphi Object Pascal
For each data whose value I need to know for sure before using it, I perform an assignment operation of a certain value at the creation of any "parent" or at the creation of the application. I had some problems with the "default" in the past, so I equipped myself and I do it like this. I know it's probably excessive, but so far I haven't had any issues. -
New Book Delphi Quality-Driven Development
DelphiUdIT replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
For your knowledge, I try to buy e-copy from your link (Italy, via CC) but the payment was refused (seller: DP Info). -
Documentation links on indyproject.org not working
DelphiUdIT replied to alan finiti's topic in Indy
Yes, that link is working, when you unzip it with Windows Explorer it gives an error. With 7-ZIP it works right. Other links from Indy Wiki are not fully functional. -
Documentation links on indyproject.org not working
DelphiUdIT replied to alan finiti's topic in Indy
oops --- -
Documentation links on indyproject.org not working
DelphiUdIT replied to alan finiti's topic in Indy
All links seem not full working. Look this, extract with 7-ZIP (Explorer give me an error): https://github.com/IndySockets/Indy/files/7782730/IndyDocs_10.1.5.0_HtmlHelp.zip -
Documentation links on indyproject.org not working
DelphiUdIT replied to alan finiti's topic in Indy
Indy Wiki is here, and is working: https://github.com/IndySockets/Indy/wiki And if you have Rad Studio installed you have the offline documentation (Help/Third-Party Help/Indy Library Help)