how launch windows slight 64-bit 32-bit code?


to cocktail adult uac dialog perspective minute hklm registry hive, opt win32 registry api, perspective permissions lacking, we'd need relaunch the whole concentration executive rights. instead, trick:



shellexecute(hwnd, "runas" /* arrangement uac prompt perspective */, windir + "\\reg", "add hklm\\software\\company\\keyname /v valuename /t reg_multi_tz /d valuedata", null, sw_hide);


this fortitude works fine, besides the concentration 32-bit one, runs reg.exe management 32-bit app controlling wow harmony layer! :( reg.exe ran management line, it's morally ran 64-bit mode. matters, since it's ran 32-bit app, registry keys finish adult wrong place due .



so there any proceed launch 64-bit app programmatically 32-bit app have run controlling wow64 subsystem the progenitor 32-bit slight (i.e. "*" appendix assign manager)?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?