From: David F. on
Hi,

Is there a easy way to tell if a driver is for x32 or x64 by just having the
..sys binary?

TIA!!

From: Pavel A. on
Yes. Open it in dependency viewer (depends.exe) and it will show this.

--pa


"David F." <df2705(a)community.nospam> wrote in message
news:517B2DDF-4F7A-48DE-923F-0342FDFEB9D1(a)microsoft.com...
> Hi,
>
> Is there a easy way to tell if a driver is for x32 or x64 by just having
> the .sys binary?
>
> TIA!!
>
From: Maxim S. Shatskih on
link -dump -headers myfile.sys

FILE HEADER VALUES
14C machine (x86)

or

FILE HEADER VALUES
8664 machine (x64)

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"David F." <df2705(a)community.nospam> wrote in message news:517B2DDF-4F7A-48DE-923F-0342FDFEB9D1(a)microsoft.com...
> Hi,
>
> Is there a easy way to tell if a driver is for x32 or x64 by just having the
> .sys binary?
>
> TIA!!
>
From: Chequer on
On 4ÔÂ24ÈÕ, ÉÏÎç4ʱ43·Ö, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> link -dump -headers myfile.sys
>
> FILE HEADER VALUES
> 14C machine (x86)
>
> or
>
> FILE HEADER VALUES
> 8664 machine (x64)
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com
>
> "David F." <df2...(a)community.nospam> wrote in messagenews:517B2DDF-4F7A-48DE-923F-0342FDFEB9D1(a)microsoft.com...
> > Hi,
>
> > Is there a easy way to tell if a driver is for x32 or x64 by just having the
> > .sys binary?
>
> > TIA!!

Hi, guys

Would you like to tell me, where to find the undocumented argument
options for microsoft linker such as -dump -header? It seems that the
output is same as dumpbin.

Thanks in advance!
From: Maxim S. Shatskih on
>options for microsoft linker such as -dump -header? It seems that the
>output is same as dumpbin.

"link -dump" is the same as "dumpbin", and I cannot make "dumpbin" working in more-or less modern WDK, while "link -dump" works.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com