Re: How to determine if running on a 32 or 64 bits kernel ?



laurent.charmet@xxxxxxxxx wrote:

Because I want to check if installed/running binaries are well fited.
It's perfectly legal to run 32 bits on a 64 bits os, but in some case
my program load external dll or external program load some of my libs.
And mixed 32/64 bits dll is a source of errors.

Okay, so you need to check the versions of the libraries that you're linked with. This has very little to do with what kernel you're running on.

> On same spirit, it's not good
to run X86 binaries on itatium because emulation has a big cost.

Presumably the user will know this, and will be able to make their own decisions about whether they want to run your app.

Chris
.



Relevant Pages