On 15 March 2011 15:00, Marcos Douglas <m...@delfire.net> wrote: > > Weird. This code did not compile in this line: > @GNSIProc := GetProcAddress(GetModuleHandle('kernel32.dll'), > 'GetNativeSystemInfo'); > > Error: unit1.pas(46,2) Error: Can't assign values to an address
This was Delphi code, so remove the @. Henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal