flat assembler
Message board for the users of flat assembler.
Index
> Windows > CreateProcess: 32bit should spawn 64bit -> ERR_NOT_SUPPOR |
Author |
|
typedef 20 Dec 2011, 03:09
But is the machine you are running on 64 bit ?
|
|||
20 Dec 2011, 03:09 |
|
yoshimitsu 20 Dec 2011, 04:18
of course..
How should I be able to spawn a 64bit process elsewise? Win7 x64 CreateProcess is used inside a 32bit exe and x64_Test is a 64bit exe which simply shows a messagebox I just removed the CREATE_SUSPENDED as I thought maybe a x86 process can't debug a x64 one, though, it does not work. srsly, what am I doing wrong? google doesn't show up almost anything about it, so apparently nobody else seems to have problems with this.. |
|||
20 Dec 2011, 04:18 |
|
revolution 20 Dec 2011, 04:25
Is the STARTUPINFO structure set properly? Are you using a 64-bit or 32-bit version of this structure? If the cb member is wrong Windows may think you are using a different version of the structure.
|
|||
20 Dec 2011, 04:25 |
|
yoshimitsu 20 Dec 2011, 04:56
As far as I recall, I have used OllyDbg to debug the code from the first test.
Because apparently it actually is working, as I just now simply doubleclicked the exe and the 64bit process got started, which does not happen when the CreateProcess-code is being debugged.. |
|||
20 Dec 2011, 04:56 |
|
revolution 20 Dec 2011, 09:54
So presumably Win7 is telling you that the new 64-bit process can't be debugged from a 32-bit process and therefore won't load it.
|
|||
20 Dec 2011, 09:54 |
|
yoshimitsu 20 Dec 2011, 10:34
1.exe (x86) spawns 2.exe (x64).
doesn't work if 1.exe is being debugged. I thought the process would be spawned independently.. So the debugger actually inherits the handle of a new process, spawned by the debugged process, but can't inherit a x64 handle? |
|||
20 Dec 2011, 10:34 |
|
revolution 20 Dec 2011, 10:41
yoshimitsu wrote: So the debugger actually inherits the handle of a new process, spawned by the debugged process, but can't inherit a x64 handle? I wonder of the same thing happens in reverse. A debugged 64-bit process being unable to spawn a 32-bit process? |
|||
20 Dec 2011, 10:41 |
|
yoshimitsu 20 Dec 2011, 11:23
But in which way does the debugger inherit such handle?
I mean why can't the debugged process spawn a new one, what has the debugger to do with the new spawned process? As the new process isn't the one which is being debugged.. |
|||
20 Dec 2011, 11:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.