x86 - Can a WoW64 process create/fork/etc pure x64 process? -


I want to call a 64 exe call from 86 process / exe, for example:

    itemprop = "text" Li> Open 86 cmd:% windir% \ syswow64 \ cmd.exe
  1. Notepad notepad: notepad.exe & lt; - It will be 86 notepad (according to taskmanager = *)

Is it possible to execute x64 cmd from x64 notepad?

My problem is that the process I am performing is to be run as x64, I do not want to work as x86 (wow) because it works differently ... similarly programmed and I <\ P>

many thanks

/ p>

Y B

Yes, it is. Before you can launch Notepad you will need to turn on. To get the correct execution to start the sequence, turn off the WOW64 redirection

EDIT: Now you have been clarified that this is actually Notepad, but its own 64 bit executable, this code is a Launch as a true 64 bit process:

  STARTUPINFO C; PROCESS_INFORMATION exemplary; ZeroMemory (& amp;; Exemplary, sizeof (PI)); ZeroMemory (& amp; amp;;; c; sizeof (C)); BResult = FALSE bool_t si.cb = sizeof (STARTUPINFO); Si.dwFlags = STARTF_USESHOWWINDOW; Si.wShowWindow = SW_SHOW; BResult = CreateProcess (, zero, "foo.exe" zero, zero, false, NORMAL_PRIORITY_CLASS, zero, NULL, & amp; si, & amp; pi); If (bResult) {WaitForSingleObject (pi.hThread, INFINITE); CloseHandle (pi.hProcess); CloseHandle (pi.hThread); }  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -