The problem is too much ambiguity because the Windows unit declares a lot of stuff with the same names as LCL, so drop the Windows unit if you don't really need it and add LCLType and LCLIntf instead. Create a separate unit to isolate direct calls to the Windows API.
-- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal