JB3DG
Resource contributor
- Messages
- 1,325
- Country

Ok how do i get a std::string type variable into the string buffer for display in GDI+?
for example:
Now how would i get that nav_mode_txt variable into a WCHAR buffer? So far have tried several things and have had no luck....
for example:
Code:
int nav_mode = 0;
std::string nav_mode_txt = "GPS";
if(nav_mode == 1)
nav_mode_txt = "VOR";
Now how would i get that nav_mode_txt variable into a WCHAR buffer? So far have tried several things and have had no luck....

