A bug in std::basic_istream from Visual C++

Update: I submitted this problem to the Microsoft Connect and the Feedback ID is 323765

I believe I found a bug in Visual C++ implementation of the C++ Standard Library (AFAIR, it’s provided by Dinkumware,Ltd.). This is my first trove of that kind in Visual C++, thus I should exclaim Hurray! ;-). The C++ library discussed here is shipped with Visual C++ 8.0 compiler from the Visual Studio 2005 Professional.

Shortly, in the std::basic_istream class, implementation of input operator overloaded for unsigned long with Microsoft specific modifier __w64 consists of incorrect cast from reference to non-const to unsigned long, a nonreference type – rvalue.

Continue reading

How to use STLport with eVC++

STLport LogoToday, I published my first article on the Pocket PC Developer Network.
My article is a kind of crash course explaining how to use STLport with eMbedded Visual C++ compiler and IDE to develop Windows CE applications. I hope it will encourage new Windows CE software developers to try STLport. I found this STL implemenation as a great piece of software, useful in my daily work and more complete STL implementation than that shipped with eVC++ SDKs.

If you are curious what I wrote follow this link to How to use STLport with eMbedded Visual C++.