Solution 1: Change some settings.
Visual Studio 2005 defaults to having unicode ON. Not such a bad thing really, but sometimes it makes people...choke. Here's how you turn it off for a project:
Solution 2: Change some code.
You can replace the std::string with std::wstring, and don't forget to adjust the string literals to match as well (_T macro comes in handy here.)