Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Process and STARTUPINFOEX
From: Boris Schaeling (boris_at_[hidden])
Date: 2013-01-23 16:37:00


On Mon, 21 Jan 2013 14:32:07 +0100, Nelson Teixeira <nelson777_at_[hidden]>
wrote:

Hi Nelson,

> [...]I can't find this STARTUPINFOEX. At most I have STARTUPINFO
> structure. Do I
> have to install anything else ? Can anyone help please ?/

there is this in boost/process/windows/executor.hpp:

#if (_WIN32_WINNT >= 0x0600)
     STARTUPINFOEX startup_info_ex;
     STARTUPINFO &startup_info;
#else
     STARTUPINFO startup_info;
#endif

And according to
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx
Windows XP is something lower than 0x0600. Can you set _WIN32_WINNT
explicitly to 0x0501 and recompile?

Boris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net