Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Delphi の Gethomepath 関数を使用するたびに、Shell Script Invocation Error が発生し続けます。
この機能は新しい機能に置き換えられましたか?
最終的にこれに対する回避策を見つけました: blogs.embarcadero.com/ao/2011/10/04/39144#comment-7998
したがって、「S := ExtractFilePath(paramstr(0)); S := Copy(S, 1, length(S) - 14);」仕事を成し遂げます。
S の長さは、アプリケーションのタイトルによって異なります。