Down this path bugs lie. <BR><BR>Try the actual action you need to perform and display an appropriate error if it fails.
One of the hardest things I found when first learning C++, outside of learning about pointers and memory management, was how to successfully compile code using third-party libraries. As a game ...