Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.win32.programmer.kernel > #2 > unrolled thread
| Started by | felixantonharoldcollins@gmail.com |
|---|---|
| First post | 2016-03-17 14:22 -0700 |
| Last post | 2016-03-17 14:22 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to microsoft.public.win32.programmer.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: CreateProcessAsUser fails with error code 2 (file not found) felixantonharoldcollins@gmail.com - 2016-03-17 14:22 -0700
| From | felixantonharoldcollins@gmail.com |
|---|---|
| Date | 2016-03-17 14:22 -0700 |
| Subject | Re: CreateProcessAsUser fails with error code 2 (file not found) |
| Message-ID | <6d856e2d-c10c-49c6-8eb4-e1bd41f36a57@googlegroups.com> |
Just for the record. CreateProcessAsUser calls SearchPath internally. SearchPath uses the File System Redirector https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx So, if you are running a 32 bit app under WOW64 and you ask for a process using an exe in system32 dir e.g. "c:\windows\system32\myapp.exe", CreateProcessAsUser will look in syswow64 instead e.g."c:\windows\syswow64\myapp.exe". If your exe is not there you'll get a "file not found error".
Back to top | Article view | microsoft.public.win32.programmer.kernel
csiph-web