The problem of PAnsiChar is I can not use width NewGen copiler (andriod and ios).
The problem of PAnsiChar is I can not use width NewGen copiler (andriod and ios).
www.kotai.es
www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
www.miniracingonline.com
Hm, strange. Did you try something like this?
Code:var aux : string; auxUTF8 : UTF8string; begin auxUTF8 := SDL_GetHint(PChar(UTF8Encode(SDL_HINT_RENDER_SCALE_QUALITY))); aux := auxUTF8; end.
With PAnsiChar(SDL_GetHint(PChar(UTF8Encode(SDL_HINT_RE NDER_SCALE_QUALITY))));
work OK, but with
UTF8String(SDL_GetHint(PChar(UTF8Encode(SDL_HINT_R ENDER_SCALE_QUALITY))));
or UTF8String(PChar(SDL_GetHint(PChar(UTF8Encode(SDL_ HINT_RENDER_SCALE_QUALITY)))));
or PChar(UTF8String(SDL_GetHint(PChar(UTF8Encode(SDL_ HINT_RENDER_SCALE_QUALITY)))));
not work.
Thanks
www.kotai.es
www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
www.miniracingonline.com
Bookmarks