On the topic of Win98 and ME ...

Is it a known bug in D4 that ExpandFileName() function behaves differently
on Win98 compared to NT and W2K Pro?

e.g.
  sAppPath := ExtractFilePath(Application.ExeName);
  sAppPath := ExpandFileName(sAppPath+'..\');  //get parent directory
  sDataPath := sAppPath + DATA_DIR;

On NT and W2K machines, it works fine; on Win98 machine, ExpandFileName()
returns the path WITHOUT trailing "\".


Cheers,
Kuet-Fung.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to