[fpc-devel]about dos.pp in WIN32

Darek Mazur darekm at emadar.com
Thu Dec 18 21:13:57 CET 2003


Hi

1. small bug
  TWin32Handle should be cardinal

2. My suggestion
  DOS is (should be) only for compatibility with BP7 with old formula
working with file, thus I think there are not need use it in others unit,
specially not in SYSUTILS ,
 only one function in SYSUTILS is used : FEXPAND
there are many duplicated declaration (tWIN32fileTime is in Windows, several
function etc)

for me:
  DOS should use SYSUTILS (not SYSTUTILS use DOS)
  FExpand call  ExpandFileName from SYSUTILS (this unit is use to porting)

all this need changes in DOS.PP, UNIX.PP, FINA.INC

then code will be simpler


Darek






More information about the fpc-devel mailing list