Boost logo

Boost :

Subject: Re: [boost] [interprocess] (Win32) shared memory totally doesn't work :(
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-06-16 03:06:39


On 16/06/2010 7:35, David M. Cotter wrote:
> fyi:
> http://msdn.microsoft.com/en-us/library/ms724408%28VS.85%29.aspx

I don't see what you mean, we need system boot stamp not boot time. I
think the answer might be WMI LastBootUpTime:

http://msdn.microsoft.com/en-us/library/aa394239%28VS.85%29.aspx

However, obtaining this is not trivial, since we need to use COM through C:

http://msdn.microsoft.com/en-us/library/aa390423%28v=VS.85%29.aspx

And if we want to avoid windows header inclusions (that's current
Interprocess approach), then things are a bit more complicated. But I'm
working on it,

Best,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk