I use CWinXP. If you have config file "fbap.ini", fbap.exe will exit.
I found it breaked at first call _fgetts() here, but I don't know why..:
// Go through each line of the config file
while (_fgetts(szLine, sizeof(szLine), h)) {
...
}
find this in int ConfigAppLoad();
#if defined (_UNICODE)
if (setlocale(LC_ALL, ("Chinese_China"))) {
if ((h = _tfopen(szConfig, _T("rb"))) == NULL) {
return 1;
}
if I change _T("rb") to _T("rt") then it works well.
This code is to fix chinese directory?
http://neo-source.com/index.php?topic=314.0(sorry for my poor english. ^^)