delphi - Gethomepath not working on iOS 5 / OSxLion -
whenever use gethomepath function of delphi keep getting shell script invocation error.
was function replaced newer one?
i found workaround this: blogs.embarcadero.com/ao/2011/10/04/39144#comment-7998
so "s := extractfilepath(paramstr(0)); s := copy(s, 1, length(s) - 14);" gets job done.
note length of s depends on application title.
Comments
Post a Comment