Gabor DEAK JAHN djg at argus.vki.bke.hu
Mon Oct 23 06:51:42 CEST 2000

At 10/22/2000 06:29, you wrote:

Dear Andy,

> Despite several different methods of writing it, it only returns the long
> filename again when using the GetShortName function.

This GetShortName is a FreePascal library routine, is it not? I only found a 
reference to it in a compiled DOS unit in my installation. The original 
Win32 API function is called GetShortPathName and it works for me all right. 
As a general rule, you should use the Win32 functions directly if you don't 
need portability or some extended features an additional library would add.


   Deák Jahn Gábor

WWW: <http://www.tramontana.co.hu/>www.tramontana.co.hu
E-mail: djg at tramontana.co.hu

More information about the fpc-pascal mailing list