On Wed, Mar 16, 2011 at 2:23 PM, DaWorm <daw...@gmail.com> wrote: > On Wed, Mar 16, 2011 at 11:25 AM, Marcos Douglas <m...@delfire.net> wrote: >>> I also had to make sure the code was >>> being ran as an administrator. >> >> That's nice. Can you share the function? > > Again, don't remember where I found this, Google or MSDN probably. > Only tested in Delphi. > > function IsAdmin: Boolean; > [......]
Thanks, I will test. Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal