Re: PureBasic: how to represent wchar_t?

2021-01-12 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? If you need to do anything that's not super super trivial with unicode you probably want to look into using Rust.  C, C++, presumably PB, etc. make unicode a nightmare because they don't say what strings are by default.  The only native level

Re: PureBasic: how to represent wchar_t?

2021-01-12 Thread AudioGames . net Forum — Developers room : Nuno via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? Thank @3, I thought about using pseudiotypes but I didn't know whwther this is good. URL: https://forum.audiogames.net/post/606145/#p606145 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin

Re: PureBasic: how to represent wchar_t?

2021-01-12 Thread AudioGames . net Forum — Developers room : Nuno via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? The extension is for Zhengdu so it's fine that its Windows only.I know I am probably wrong but I like PBN for simple DLL creation. URL: https://forum.audiogames.net/post/606144/#p606144 -- Audiogames-reflector mailing list Audiogames-reflector

Re: PureBasic: how to represent wchar_t?

2021-01-11 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? DeclareDLL Func(VarName.P-Unicode)This only works on Windows, though. There's a way to do it for Unix-like systems, but I don't know it off the top of my head. If cross-platform is a hope...CompilerIf ; However you check for what the platform

Re: PureBasic: how to represent wchar_t?

2021-01-11 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? DeclareDLL Func(VarName.P-Unicode). This only works on Windows, though. URL: https://forum.audiogames.net/post/606020/#p606020 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: PureBasic: how to represent wchar_t?

2021-01-11 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: PureBasic: how to represent wchar_t? Is this Windows only?  You're in a world of hurt no matter what, but if it needs to work on other platforms you're in an extra painful world of hurt.Either PB already understands wchar_t or there is nothing much you can do with it because on Windows

PureBasic: how to represent wchar_t?

2021-01-11 Thread AudioGames . net Forum — Developers room : Nuno via Audiogames-reflector
PureBasic: how to represent wchar_t? I am creating an extension for one application in PB and I need to create a function accepting wchar_t as a param. How to represent wchar_t in PB? URL: https://forum.audiogames.net/post/606003/#p606003 -- Audiogames-reflector mailing list