64bit vs 32 bit apps…
Smallworld currently is still a 32 bit app. And by default calls 32bit MS Windows applications.
Are you trying to get to a registry setting that is not under the WOW6432Node? You can use the following REG command.
regCom << system.getenv("WINDIR")+"\sysnative\reg.exe"
This calls the 64bit reg not the 32bit reg executable. Found this here.