> Another thing: Do not add a \ yourself. ExtractFilePath returns
> as the last character a \ , so you'll have MyApp\\MyFile.ini
> in the end, and I think windows doesn't like that. 

You can also use AppendPathDelim.
-- 
View this message in context: 
http://www.nabble.com/ExtractFilePath%28GetModuleName%280%29%29-problem-tp22996601p23017198.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to