Created
June 23, 2018 06:37
-
-
Save nibasya/d3cc96211fdb4a91145c2c8b1629fa7a to your computer and use it in GitHub Desktop.
Example of converting from Unicode to ANSI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern void MyOpen(LPCSTR name); | |
void MyFunc(CStringW name){ | |
MyOpen(CW2A(name)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment