#include "trio/streams/MemoryMappedFileStream.h"
trio::MemoryResource* pBuf = nullptr;
trio::MemoryMappedFileStream* stream;
bool MyConnect::Connect()
{
FString loc_file = "TestFileMap";
stream = trio::MemoryMappedFileStream::create
(
TCHAR_TO_ANSI(*loc_file),
trio::AccessMode::ReadWrite,
pBuf
);
how to work with this library ?
Gives an error in console
Successfully linked patch (0.000s)
Patch could not be activated.
if i comment “// trio::MemoryMappedFileStream::create (…);” all ok !
Tell me what to do, maybe someone has a piece of working code with this library?
Thanks everyone!