Jump to content

Mr. E

Members
  • Content Count

    47
  • Joined

  • Last visited

Community Reputation

6 Neutral

About Mr. E

  • Birthday April 1

Technical Information

  • Delphi-Version
    Delphi 10.1 Berlin

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I don't know if it applies to your case, but take a look at it: https://dannywind.nl/delphi/android-sdk-for-delphi-11-2-alexandria/ I don't remember if I ever saw those same errors you get; but I adapted the information for Delphi 12.3 and it helped.
  2. OK; my idea was right: But is it the right thing to do, and what is going to happen with the Delphi 12.3 SDK?
  3. Greetings. I have a strange problem with the “Android SDK manager GUI”. Every time I install it (several times) I get an “Application Error” and now I discovered something curious in the Memo of that application. I found this post ; and although the image is similar to the one I attach; I don't think it is the solution for my case. It seems that the cause of the error is that you are looking in the wrong CatalogoRepository.: Where does the application get this value 22.0? On reflection; maybe I need to update the Android SDK within version 22 although it is still strange. *Update: C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.48361.3236\cmdline-tools\latest\bin>sdkmanager.bat platform-tools [===...==] 100% Unzipping... platform-tools/sqlit C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.48361.3236\cmdline-tools\latest\bin>sdkmanager.bat platforms;android-35 [===...==] 100% Unzipping... android-35/templates C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.48361.3236\cmdline-tools\latest\bin>sdkmanager.bat build-tools;35.0.1 [===...==] 100% Unzipping... android-15/renderscr Additional note: The previous versions: 19 and 22 I installed with the Web installer. Version 23 was also installed with the web installer; but I removed it and installed it with the ISO trying to avoid weirdness with the web installer that I experienced before. I had to uninstall several things to avoid problems during this installation of 12.3 that were installed with 12.2. This is some screens for my installations. I am finding curious things in my installation; the Start Menu no longer shows version 19/Tokyo even though they are installed; I haven't compiled some old projects for a while. A few weeks ago, I edited the Path to avoid the maximum character limit. My user's path System path Thanks for the help in advance. Regards
  4. Thanks @Patrick PREMARTIN !!! I was trying yesterday to use the @dummzeuch code, but I couldn't; apparently it's too tied to its original purpose “GEExperts” and I couldn't get it to work as something separate. I will try this repository you mention at the first opportunity. (At the moment I'm putting out fires in the office: Windows 11 and CData/Excel/Firedac bit my hand today, 32bit app on windows 11x64 doesn't work, luckily I managed to compile to 64bit)
  5. Thank you all for your replies! @corneliusdavid, some time ago I looked on wikipedia, and I re-confirm that it does not show the full version number. That screen D12.1 screen is really informative +1 This is a good piece of information! I will try the code provided @dummzeuch, and try to keep better track of the versions from today.
  6. Do you know if Embarcadero publishes any list with the official version numbers of their products? I installed version 12 several months ago; and I'm sure I installed patch1 (using the offline installer): [2024-05-08 11:08:10] [INFO ] Patch successfully applied. Backup and log files are in 'C:\Program Files (x86)\Embarcadero\Studio\23.0\_patch-backup\2024-05-08 11.07.38'. And this is my current version: Embarcadero® Delphi 12 Version 29.0.51961.7529. And the IDE does not mention the installed patch: Then I notice that the "Welcome Page" indicates "patch available", and I found this from blogs.embarcadero.com At this point I have already instructed getit to ignore the patch. BTW the number shown in getit is somewhat confusing: "12.1 Patch 1 1.0" Regards
  7. Thank you @JonRobertson Using the words you provided, I managed to find the section to adjust/wrap the code to more than 80 columns when formatting with Ctrl-D Tools -> Options -> Formatter -> Delphi -> Line breaks -> Right margin. I changed it from 80 to 120 to test it and it does work. I also discovered that searching for the words "right margin" does not locate the "Formatter" section I was looking for. This other post ("Change the scroll width of the Delphi IDE Editor window"), complete what I needed to adjust the code formatting.
  8. I have always been unable to find an answer to the following: The vertical line I point to in the image: Does it have a name? Can its horizontal position (width or column) be changed? Is it correct for what I think it is? When using Format Code (Ctrl-D), it makes all the code stay inside the limit of that column. Thanks in advance.
  9. @PeterBelow @programmerdelphi2k Sorry for the delay and thank you very much, I hope to update this weekend by uninstalling those two Parnasus packages. Yes, I did this but after using the webinstaller. I'm not sure, but reinstalling with the ISO is not recommended since I installed with the web installer, right? If I manage to upgrade; later I will try to create a new VM and install from scratch using the ISO (but that's a lot of work accumulated at the moment); I just have the doubt if it won't cause me a problem with the CData connectors license that was "registered?" with the current VM. Regards!
  10. Yes, I also prefer the ISO, but when we bought the license my salesman did not provide me the ISO in time and I had to use the web install; the urgency forced me to use it and now I regret it. I have done some research and I see that the registry data of the web install and ISO install are not compatible. I guess if I uninstall and reinstall with the ISO I will be shooting myself in the foot.
  11. @programmerdelphi2k Ah!, then I am in the hands of the other factors that I cannot control, especially on the Embarcadero side. We have a dedicated "fast" internet (not ultra-fast) #4) Before I upgraded Delphi I had no updates and now that I checked I had already downloaded an update package. Paused!
  12. Greetings, How long does it take to update Delphi 11? The resource and performance monitor do not show any activity (hdd, network). It is a Windows 11 Pro VM on Proxmox, with adequate resources; I disabled the Firewall and it has no antivirus. I have almost an hour and I don't see any progress in the update/installation (web install). I'm going to wait another hour; but, I am tempted to stop the VM, restore it (I did a previous backup) and retry.
  13. Mr. E

    Send a message to App users??

    Although I like your solution better. Perhaps something could be programmed to make use of "msg": Msg: Sends a message to a user on a Remote Desktop Session Host (RD Session Host) server. Although it seems that there are problems in windows server 2016 or 2019.
  14. Greetings, I need your guidance. I made an ActiveX control which I need to use in one big applications (ParnetMenu) for various containers, but it is somewhat elaborate to update. So, to get out of trouble, I made an emergent application as a simple container for this ActiveX control. On my development machine, the application closes correctly and disappears from the processes running on Windows 10 pro 64 bit (virtualized in virtualbox). The problem occurs with end users (Windows 10 pro 64 bit), when closing the application it remains running in the windows processes and it is necessary to go and terminate the process manually. In fact, my main application (ParnetMenu) where I will use this control, suffers the same problem but there we programmed a button that looks for the id of each container and closes the process, using the TDOSCommand component and performs a Taskkill to close the screens that use these ActiveX controls. (Force closure) exe := stringReplace(button.Caption, ' ', '_', [rfReplaceAll, rfIgnoreCase]); button.visible := false; PID := escribeVar(exe); PID := 'Taskkill /F /PID ' + PID; dos.CommandLine := PID; dos.Execute; In this emergent application I have tried several things, attached actual and previous code: First by clicking on "X" in the application I release the control and Terminates de application. It did not work. Second. Then I removed the buttons and add a panel with a button to try another way. Same result the application remains running in the background: The layout of the application: This is the code for this emergent container: unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs , SALMVCC_To_Cancel_AX_TLB, RzButton, Vcl.ExtCtrls, System.ImageList, Vcl.ImgList, Vcl.StdCtrls ; type TMain = class(TForm) il1: TImageList; pnl1: TPanel; bb1: TRzBitBtn; lbl1: TLabel; procedure FormCreate(Sender: TObject); procedure bb1Click(Sender: TObject); private { Private declarations } var CADISalidasCancelacionAutorizacion: TcoADI_SALMVCC_To_Cancel; procedure doLoadOCX; public { Public declarations } end; var Main: TMain; implementation {$R *.dfm} procedure TMain.bb1Click(Sender: TObject); begin lbl1.Visible:= True; self.Refresh; Sleep(200); // to give time for the message to be displayed. CADISalidasCancelacionAutorizacion.Destroy; Sleep(500); // to give time for the message to be released? Application.Terminate(); Sleep(2500); // Just to debug this problem System.Halt(0); //TerminateProcess; // don't know how to use yet end; procedure TMain.doLoadOCX; begin CADISalidasCancelacionAutorizacion := TcoADI_SALMVCC_To_Cancel.Create(self); CADISalidasCancelacionAutorizacion.Parent:= self; CADISalidasCancelacionAutorizacion.Align:= alClient; end; {procedure TMain.FormClose(Sender: TObject; var Action: TCloseAction); begin CADISalidasCancelacionAutorizacion.Free; Application.Terminate; end;} procedure TMain.FormCreate(Sender: TObject); begin doLoadOCX; end; end. I had previously used this, but it didn't work either. procedure TMain.FormClose(Sender: TObject; var Action: TCloseAction); begin CADISalidasCancelacionAutorizacion.Free; Application.Terminate; end; Note: My PC has no antivirus running (except Microsoft's), my users use Avast and there is already an exception for them not to send the application to the sanbox. I even tried disabling the antivirus on a computer and the problem persists. Regards and thank you. ------- Addendum: The main goal is not only to solve this problem with the emergent application. But also to eliminate the use of TaskKill in my ParnetMenu application; and to eliminate the hang that occurs. And of course, occasionally I will be able to create more definitive applications using the ActiveX container.
  15. Mr. E

    How To HTTP POST in Delphi?

    Thank you Gambit/Remy Lebeau! 😀
×