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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -