Originally Posted By: Superku
I only had a quick look at it but you usually want to use "short" arrays for Unicode, not "chars" ( in view of "temp_getfolder").


Thanks, that makes sense. I gave it a shot, still got only "C" as result. I guess this is because of the string type that SHGetFolderPathW expects ("LPWSTR"). Either that, or I made some other mistake on the way.

Anyway - sadly, it's pointless to test this any further, because I just checked if the engine's "file_open_..." commands accept unicode strings as file paths. And of course, the result is: No, they don't. So working on this stuff in lite-c makes no sense at all - or am I missing something?

I really can't understand why Windows Special Folders were not implemented into the engine in a hard-coded way at all. It's a standard since Vista - that was 10 years ago.

Maybe someone still has an idea how to get this working...? This really is an important part for my project.