ObjectGuid guid; std::string guidString = guid.ToString();
ObjectGuid guid; char* guidChar = guid.ToString().c_str();This example is similar to the first, but instead of storing the string representation in a std::string variable, it is stored in a character array using the c_str() method. The package library that contains ObjectGuid ToString method is not mentioned in the description as it can be part of any package library that includes C++ objects.