

tgbs
-
Content Count
109 -
Joined
-
Last visited
-
Days Won
1
Posts posted by tgbs
-
-
And the error code is?
-
I don't know that a UDP protocol was used. The events in old versions were in a different port but now they are going through the main
-
You need to add exception to firewall. Port or program is your choice
-
Take a look at the Windows application log.
-
After ssh connection we execute command on server. If timeout is set -1 there is error "respond reading timed out". The problem is that this script runs for a different amount of time
-
Excuse me but I pressed a report post instead of shared
-
-
Windows 10,11 ? Or Windows Server version
-
After the renewal, an apache must be restarted
-
Drop Primary key, alter domain, recreate primary key. If You have Foreign keys - first drop them
-
2
-
-
QuoteA critical error has occurred. Please check the Admin Logs for further details.After click buy now button
-
Validity Not After Thu, 21 Nov 2024 10:24:06 GMT
Please renew certificate
-
I think you will have to buy VM. Linux or Windows is your choice
-
-
UniqueString(CmdLine);
Before CreateProcess ?
-
1
-
-
function RunProcess(CommandLine: String; Var ErrMessage : String; WaitForProcess : Boolean; CreationFlags : Word): Boolean; Var ResultCode : LongWord; StartInfo: TStartUpInfo; ProcInfo: TProcessInformation; begin Result := False; ResultCode := 1; FillChar(StartInfo, SizeOf(TStartUpInfo), #0); FillChar(ProcInfo, SizeOf(TProcessInformation), #0); StartInfo.cb := SizeOf(TStartUpInfo); StartInfo.dwFlags := STARTF_USESHOWWINDOW; // StartInfo.wShowWindow := SW_SHOWMINIMIZED; UniqueString(CommandLine); try try IF NOT CreateProcess(nil, PChar(CommandLine), nil, nil, FALSE, CreationFlags, nil, nil, StartInfo, ProcInfo) THEN BEGIN ErrMessage := SysErrorMessage(GetLastError); Exit; END; except on e : exception do begin ErrMessage := e.Message + #13#10 + SysErrorMessage(GetLastError); Exit; end; end; if not WaitForProcess then ResultCode := 0 else begin WaitForSingleObject(ProcInfo.hProcess, INFINITE); GetExitCodeProcess(ProcInfo.hProcess, ResultCode); end; finally Result := (ResultCode = 0); //-------- CloseHandle(ProcInfo.hProcess); CloseHandle(ProcInfo.hThread); end; end;
Set CommandLine to somehing like @corneliusdavid comment
-
1
-
-
I'm not sure about the latest version of Firebird, but as with Interbase, only gbak utility can make archives on a remote disk. Therefore, CreateProcess and Waitforsingleobject for Gbak.exe can be used in Delphi
-
1
-
-
You can write your extension (script) to a Cockpit and then perform remotely. Extensions can be written on JavaScript. Can be called through something like this
curl -u 'Username: Password' -x Post \
-d '{"Script": "/Path/to/your-script.sh", "args": ["arg1", "arg2"]}' \
https: // <Server-IP>: 9090/My-Scripts/Execute
I think there was also a ready -made feature to access Shell, but I don't remember what it is. Since curl can be used, I see no reason for not writing the Delphi program. There are documentation for existing and new extensions.Edit: A program can be written that performs something like this
ssh user@Server-IP> 'sudo myscript.sh'
The user must have sudo rights and be able to enforce it without a password. This is configured on the server. I think there are a lot of SSH access libraries with keys, not password -
There is an add-on in Cockpit for ZFS Storage.
In the cockpit, you log in with the corresponding Linux user -
2 hours ago, Uwe Raabe said:It is even possible at design time. Setting an empty name to a component will remove the corresponding field in the class. It is often used with TLabel instances that only exist to display some static text, but won't be accessed in the code. It reduces code cluttering a bit.
This can be a problem in a multilingual project
-
On 9/12/2024 at 7:38 PM, Dave Nottage said:Apparently they're working on a new agreement (presumably with Eugene's estate?) to include it. Marco/Ian mentioned this in the webinar.
Any news about FMXLinux?
-
We were updated from 12.1 to 12.2. There is no problem with the RDP from real Windows and Linux machines to 12.2. 12.2 is on real and virtual machines.
Edit: Forgot to say that 12.2 is on Windows 10 and 11
-
1
-
-
On 9/14/2024 at 6:21 PM, Clément said:I just accessed the machine without VM and the code editor doesn't blink.
Is there any special new settings for RDP access?My colleagues and I planned to upgrade from 12.1 to 12.2 next week. Most of the time we access Delphi in the office through VPN and RDP. Most PCs with Delphi 12.1 installed are real, but there are also VMs.
I didn't understand when the problem occurs -
We have a problem when double-clicking on the TActionlist. There are only a few actions, but the image list (TVirtualImageList) is large
Strange IB connection issue
in Databases
Posted
This is probably name resolution problem. Check WINS, DNS etc. Do you have DHCP on server? Try connect app via IP.