Depending on which API you are calling, you have to represent a “string” differently. This is just one example
https://learn.microsoft.com/en-us/cpp/text/how-to-convert-be...