On Wed, Mar 16, 2011 at 12:19 PM, DaWorm <daw...@gmail.com> wrote:
> 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.

Exactly.

> I also had to make sure the code was
> being ran as an administrator.

That's nice. Can you share the function?


Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to