On Wed, Mar 16, 2011 at 8:45 AM, Marcos Douglas <m...@delfire.net> wrote: > The program was compiled in 32-bits but I have to know what kind of OS > is running because my program needs to install somethings.
That's why I needed it too. In my case, my code is always 32 bit, but to install a smart card NULL driver, I needed to be able to adjust both the 32 bit registry and the 64 bit registry. Just adjusting the 32 bit registry wasn't enough. I also had to make sure the code was being ran as an administrator. Jeff. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal