Hello,
I've added TXT file to my resource, but now I need to know how to access data in it?
can I use iostream to read data?
I have this:
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDR_0_1 0 "..\\..\\..\\..\\..\\Desktop\\test.txt"
resource.h
#define IDR_0_1 119
main.cpp
HRSRC hRes = FindResource(0, MAKEINTRESOURCE(IDR_0_1), "0");
HGLOBAL hData = LoadResource(0, hRes);
LPVOID data = LockResource(hData);