Boost logo

Boost Users :

From: Eric Teutsch (eteutsch_at_[hidden])
Date: 2006-11-20 11:34:12


Boost::date_time uses FILETIME internally to get subsecond time resolution
timestamps. When using date_time in a managed C++ environment, the compiler
(VC7.1) can't differentiate between the windows global FILETIME, and the
.NET System::Runtime::InteropServices::FILETIME, and therefore throws an
error. If the boost header file microsec_time_clock.hpp (in
boost/date_time) changes the types FILETIME to the global namespace
::FILETIME, then the naming collision goes away. This has only been tested
in a limited arena, but I believe it should not affect other areas).

Thank you

Eric T.
________________________________________
I let my mind wander and it didn't come back.


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