20 Nov
2006
20 Nov
'06
4:34 p.m.
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.