
13.09.2017, 13:06
|
|
Участник форума
Регистрация: 14.05.2014
Сообщений: 149
С нами:
6314183
Репутация:
68
|
|
Код:
Код:
std::string result;
DWORD nSize = 255;
GetPrivateProfileSection(LPCSTR("section"), LPSTR(&result), nSize, "SAMPFUNCS\\test.ini");
SF->Log(result.c_str());
Почему крашит, блеать?
Текст в файле:
Код:
Код:
[section]
one=lol
two=lul
three=kek
|
|
|