- question about 64-bit compliant DDK samples
- Posted by mpy on January 29th, 2008
I am playing around with the samples in the DDK. In the HTML document, it
says "this is 64-bit compliant". Does this mean that it won't run on my
32-bit Windows XP system? I tried to install 64-bit compliant Msplotter
sample on my machine. I could not see it after a successful installation.
On the other hand, a 32-bit complaint software can run on 64-bit system. Am
I right?
I am wondering which option I should change so that I will build a 32-bit
compliant samples so that they can run on my XP.
Thanks in advance!
- Posted by Don Burn on January 29th, 2008
Sounds like you are using the DDK which is obsolete, get the WDK. 32-bit
user apps can run on 64-bit systems but not 32-bit drivers. Get the WDK and
use the XP on x86 build environment.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"mpy" <mpy@discussions.microsoft.com> wrote in message
news:7F6B7881-0092-4324-9C9E-2C834BE43C1F@microsoft.com...
- Posted by mpy on January 30th, 2008
Sorry, DDK in my message means WDK. Here is my story.
I did download the latest WDK and used command "build -cZ" to build the
samples using "Windows Vista and Windows Server 2008 x86 check build
environment" on my Windows XP. The version (?) number is 6001-17121.
Many of them are 64-bit compliant. Why?
You mean I should use "Windows Xp X86 check build environment"?
What happen if my driver needs to run Xp and Vista?
I am going to try "Windows Xp X86 check build environment".
"mpy" wrote:
- Posted by Don Burn on January 30th, 2008
Samples being 64-bit compliant means that you can build it for 64-bit, they
all work for 32-bit AFAIK. The rule for a driver is build it for the oldest
environment that you need it to run on. So for your case if you want XP and
Vista, build the driver for XP.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"mpy" <mpy@discussions.microsoft.com> wrote in message
news:C617304E-42B2-41E3-82C4-E29EEBF59986@microsoft.com...
- Posted by Maxim S. Shatskih on January 31st, 2008
"64-bit compliant" means - "the source is OK for both 32bit and 64bit builds".
You cannot run 64bit drivers on 32bit OS, and vice versa.
Also, on 64bit OS, 32bit DLLs cannot be loaded to the 64bit process and vice
versa (interprocess communication like COM is OK across 32/64 bit).
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
- Posted by Tim Roberts on January 31st, 2008
mpy <mpy@discussions.microsoft.com> wrote:
For apps, yes. For drivers, no. On a 32-bit system, you can run 32-bit
apps and 32-bit drivers. On a 64-bit system, you can run 32-bit apps,
64-bit apps, and 64-bit drivers.
No other options are possible.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.