[fpc-pascal] ExtractFilePath(GetModuleName(0)) problem
leledumbo
leledumbo_cool at yahoo.co.id
Mon Apr 13 04:55:46 CEST 2009
> 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.
More information about the fpc-pascal
mailing list