Discussion:
Process and Environment Control in Visual C++
(too old to reply)
u***@sta.samsung.com
2007-12-14 21:04:55 UTC
Permalink
I have some questions pertaining to Process and Environment Control in
Visual C++ (http://msdn2.microsoft.com/en-us/library/d6dtz42k(Vs.
80).aspx).

1). Between spawn and exec, which function call is preferable to use,
or are they equivalent?

2). Does Windows Mobile support these calls?

Thanks,
Song
UETA, Shin-ichi
2007-12-15 13:43:37 UTC
Permalink
Post by u***@sta.samsung.com
1). Between spawn and exec, which function call is preferable to use,
or are they equivalent?
As mentioned there, Calling _exec(...) is equivalent to calling _spawn(_P_OVERLAY, ...).
So, _spawn() is more functional than _exec() at least.
Post by u***@sta.samsung.com
2). Does Windows Mobile support these calls?
As far as I'd read the CRT source code (dospawn.c), both _exec()
and _spawn() just call CreateProcess() finally.
If the API function has restriction on the mobile versions of Windows,
both _exec() and _spawn() also.

Sorry, I don't know more.
--
Ueta System Design Studio
http://www.usdesign.jp/
UETA, Shin-ichi
mailto:***@usdesign.jp
Continue reading on narkive:
Loading...