Forum > General

ExtractFilePath and upx

(1/1)

CML:
Hi,
I have tested upx in Kubuntu: The code

dir := ExtractFilePath(Application.ExeName);

returns true name of the directory where the program is located.
After upx is applicated, the name is wrong.

In W/XP it works correctly.
Where is the mistake, in Lazarus, fpc or upx?

Leledumbo:
http://wiki.lazarus.freepascal.org/Multiplatform_Programming_Guide#On_Unix_there_is_no_.22application_directory.22

Navigation

[0] Message Index

Go to full version