02-22-2019, 10:41 AM
Hi Joel. If this is an external file, isapi is located in different path. This code read file in the same path.
Code:
if IsLibrary then
txt := ExtractFilePath( GetModuleName( HInstance ) ) + 'MyINIFile.ini'
else
txt := ExtractFilePath( ParamStr(0) ) + 'MyINIFile.ini';
