Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-10

LFN->SFN

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor DEAK JAHN

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.

Üdvözlettel,

   Deák Jahn Gábor

------------------------------------------------------------------- DEÁK JAHN Gábor,
Budapest.
WWW: <http://www.tramontana.co.hu/>www.tramontana.co.hu E-mail: