From: JY on
> >What about the lib files to be used when building a 64-bit EXE?
> >Like I said, there are different libs available even for 64 bit AMD
> >processors.
>
> There are exactly three sets of libraries. The x86 libraries are for use
> with 32-bit apps. The ia64 libraries are for use with 64-bit Itanium
> processors, which no one really has in real life. ;) The amd64 libraries
> are for all of the 64-bit processors you are likely to find in the wild --
> AMD64 and EM64T (or Intel64, as they are now calling it).
>
> >How do I know which lib to link with? Is there any documentation
> >at all available on the usage?
>
> On the usage of what?

On the usage of these static libs. When I search the installed WinDDK folder
for DIFxAPI.lib, I get these (for AMD64):

\WinDDK\7600.16385.0\lib\win7\amd64
\WinDDK\7600.16385.0\lib\wlh\amd64
\WinDDK\7600.16385.0\lib\wnet\amd64

what are wlh and wnet for? what is the win7 one for? do I need to build an
EXE separately for Windows 7 and Windows Vista, Windows XP? For XP and Vista
which static lib do I link with? I believe there should be corresponding DLLs
available for each of these too.

--
JY
From: David Craig on
I guess you have a wonderful life and have more luck than a four leaf
clover. It doesn't happen very often, but sometimes I have to dig into the
world of ia64.

"Tim Roberts" <timr(a)probo.com> wrote in message
news:27o0q5lifeou300mtecrmhojf7u5f27cgo(a)4ax.com...
> JY <sd(a)nospamgroup.com> wrote:
>>
>>What about the lib files to be used when building a 64-bit EXE?
>>Like I said, there are different libs available even for 64 bit AMD
>>processors.
>
> There are exactly three sets of libraries. The x86 libraries are for use
> with 32-bit apps. The ia64 libraries are for use with 64-bit Itanium
> processors, which no one really has in real life. ;) The amd64 libraries
> are for all of the 64-bit processors you are likely to find in the wild --
> AMD64 and EM64T (or Intel64, as they are now calling it).
>
>>How do I know which lib to link with? Is there any documentation
>>at all available on the usage?
>
> On the usage of what?
> --
> Tim Roberts, timr(a)probo.com
> Providenza & Boekelheide, Inc.

From: Tim Roberts on
JY <sd(a)nospamgroup.com> wrote:
>
>On the usage of these static libs. When I search the installed WinDDK folder
>for DIFxAPI.lib, I get these (for AMD64):
>
>\WinDDK\7600.16385.0\lib\win7\amd64
>\WinDDK\7600.16385.0\lib\wlh\amd64
>\WinDDK\7600.16385.0\lib\wnet\amd64
>
>what are wlh and wnet for? what is the win7 one for? do I need to build an
>EXE separately for Windows 7 and Windows Vista, Windows XP? For XP and Vista
>which static lib do I link with? I believe there should be corresponding DLLs
>available for each of these too.

Like always in the DDK, you use the one that matches the lowest level
operating system you need to support. This should all happen
automatically. If you use the appropriate WDK build environment, you'll
get the right libraries.

"wnet" is for Windows Server 2003, which was known as "Windows .NET Server"
during its development. "wlh" is for Vista, which was known as "Longhorn"
during its development.

There never really was a 64-bit version of XP. The product that was
released as XP 64 was really Windows Server 2003 64. They just changed the
string name in the resources so people would buy it for desktops.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.