I’d like to load a file from the current working directory. Aka from a directory near the exe… like old times
So for example if i have:
MyCustomFiles/MyCustomFile.bin
MyGame.exe
And i want to load the MyCustomFiles/MyCustomFile.bin
How do i do that? The examples/tutorials on the wiki pages literally tell nothing about the functions and their parameters.
Here is my c++ code:
IPlatformFile &FilePlatform = FPlatformFileManager::Get().GetPlatformFile();
IFileHandle* FileHandle = FilePlatform.OpenRead(* FileName );
What the FileName should be?
It looks like uses this path by default:
C:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\