[fpc-pascal]Synapse for FPC
memsom at interalpha.co.uk
Thu Jul 24 12:35:29 CEST 2003
> What about
> var username:AnsiString;
> GetUserName( pchar(Username), 255 );
> Or does that mess up reference counts?
FPC may let you do that, but Delphi will have an error about not passing
const params iirc. That or the result is garbage back from Windows.
More information about the fpc-pascal