2021年11月25日 星期四

delphi啟動外部程式執行結束 啟動外部程式 Winexec ShellExecute

 delphi啟動外部程式執行結束 啟動外部程式 Winexec ShellExecute 

Winapi.ShellAPI Winapi.Windows

 ShellExecute CreateProcess  ShellExecuteEx WaitForSingleObject

delphi shellexecuteex SW_SHOWNORMAL

 TShellExecuteInfo  

 WaitForSingleObject(ShExecInfo.hProcess,INFINITE); 

GetExitCodeProcess(ExecInfo.hProcess,ExitCode);

 createprocessasuser 

https://www.codeproject.com/Articles/19165/Vista-UAC-The-Definitive-Guide

Link_Create()
Link_CreateAsUser()
Link_CreateWithLogon()
Link_CreateWithToken()
Link_Destroy()
Link_CreateProcessA()
Link_CreateProcessW()
Link_ShellExecuteExA()
Link_ShellExecuteExW()
Link_ShellExecuteA()
Link_ShellExecuteW()
Link_LoadLibraryA()
Link_LoadLibraryW()
Link_SendData()
Link_GetData()
Link_SendFinalize()

CreateProcessElevatedA()
CreateProcessElevatedW()
CreateProcessAsUserElevatedA()
CreateProcessAsUserElevatedW()
CreateProcessWithLogonElevatedW()
CreateProcessWithTokenElevatedW()
SH_RegCreateKeyExElevatedA()
SH_RegCreateKeyExElevatedW()
SH_RegOpenKeyExElevatedA()
SH_RegOpenKeyExElevatedW()
SH_RegCloseKeyElevated()
ShellExecuteElevatedA()
ShellExecuteElevatedW()
ShellExecuteExElevatedA()
ShellExecuteExElevatedW()

Requesting Administrative Rights Requested Elevation Levels Elevation 

https://www.codeproject.com/Questions/182599/How-to-Run-a-Process-As-Admin

https://stackoverflow.com/questions/11586139/how-to-run-application-which-requires-admin-rights-from-one-that-doesnt-have-th

restful json datasnap scalable multi-tier frameworks delphi

  NetHTTP TNetHTTPClient  TNetHTTPRequest
 REST TRESTClient TRESTRequest TRESTResponse TRESTResponseDataSetAdapter
 Indy IdHTTP IdSSLOpenSSL
 JavaScript jQuery(Mobile Http DOM Ajax JavaScript RESTful REST web service API  
 DataSnap REST server HTML5 client
 
 REST Services TRESTClient TRESTRequest TRESTResponse components
 System.DateUtils,System.SyncObjs, System.Math,
 System. Generics.Collections,
 System.Rtti, System.Bindings.Outputs,
 System.JSON,
 System.JSON.Builders, System.JSON.Readers,
  FMX.Types, FMX.Forms, FMX.Dialogs, FMX.Layouts,
  FMX.Objects, FMX.ListBox, FMX.Ani, FMX.Gestures, FMX.StdCtrls,
  FMX.DateTimeCtrls, FMX.Graphics,
  FMX.Media, FMX.ScrollBox, FMX.Memo, FMX.Calendar, FMX.Edit,
  FMX.Controls, FMX.Controls.Presentation,
  FMX.TreeView, FMX.TabControl,
 
  REST.Utils,
  REST.Types,
  REST.Client,
  REST.Response.Adapter,
  REST.Authenticator.Simple,
  REST.Authenticator.Basic,
  REST.Authenticator.OAuth, IPPeerClient, Data.Bind.Components;

https://www.embarcadero.com/cn/free-tools/rest-debugger/free-download