Posts: 1,219
Threads: 281
Joined: Jul 2022
08-13-2025, 01:19 PM
(This post was last modified: 08-13-2025, 01:20 PM by Davider.)
For generating an exe file, if the QM code contains some registry operations, they only take effect after restarting the exe.
How can restarting the exe be implemented elegantly?
Macro
Macro33
out
if !rget(_s "DisabledComponents" "SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" HKEY_LOCAL_MACHINE)
,out _s
,rset 32 "DisabledComponents" "SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" HKEY_LOCAL_MACHINE
,;need restart !!!
mes 666