On Windows, this method returns the application's directory. IMO, this is wrong since its customary to install applications in the Program Files directory and with tighter locked down XP/2000 and DEFINITELY Vista, this is a problem since you are not usually given permission to write in these destinations now.
I think the GetSpecialDir method should be called (as it is with when the "Global" flag is false) with parameter CSIDL_COMMON_DOCUMENTS. Reported: http://bugs.freepascal.org/view.php?id=11257 -- Warm Regards, Lee _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
