c++ export global object VS2008