On Sun, Jun 29, 2008 at 6:32 AM, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> - If the border condition that w9x must remain supported persists, this
>  becomes a magnitude more work. A way to deal with this has to be found
>  (two win32 FPC releeases, one advocated as D2..D2006 compat + w9x, one as
>  NT + Unicode/Tiburon?)

procedure AnyFileRoutineInWin32(AFileName: widestring);
begin
  if UnicodeEnabledOS then SomeWin32APIW()
  else AnsiToWideString(SomeWin32ApiA())
end;

Not very hard to keep 9x support.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to