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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -