Just use the wide API's. You don't have change any compiler setting for that.

Just use the "W" versions.

gg