Duane Clark wrote:
According to MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas...
CreateProcess should check several places for an application, none of which include the registry key. So that call should fail, and it does.
By the way, since many things are "inadvertently" left out of the MSDN, it might be worth testing whether that is really the way CreateProcess works on Windows. In fact, that would make a good test case to add to Wine, if you really wanted go for it.