Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: cd_edwards on December 31, 2025, 12:47:52 PM
-
local inst = mc.mcGetInstance()
local hreg, rc, ignoreDustBoot
hreg, rc = mc.mcRegGetHandle(inst, "iRegs0/nf/TRC/IgnoreDustBoot")
if (mc.mcInEditor() == 1) then
mc.mcCntlSetLastError("crap")
end
This fails on Windows 10. One Windows 11, success. I've installed the latest VC++ package on windows 10 which fixed a machipc.dll error I was getting previously.
The register exists and has a value of 1. the rc code is 0, but hreg is 0 also. This should work. It's part of a larger script which has stored values for the dustboot location.
Colten.