- Installation for x86, amd64, ia64
- Posted by nws_reader@yahoo.com on December 28th, 2007
I just went through the process of porting my 32-bit driver to 64-
bit. I tested the 64-bit version of the driver from the AMD64 DDK
directory on Windows XP x64.
The user level application that talks to this driver is still a 32-bit
application and works fine on both Windows XP x86 and x64.
Now I have a question regarding the installation. I can change the
installation app (32-bit) to differentiate between a 32-bit and 64-bit
OS, but how can I differentiate between an x64 (AMD64) and ia64
(Itanium) system so I can install the correct 64-bit driver.
IA64 seems to still be supported for Windows 2003 (not XP). I also
heard that 32-bit x86 apps can run on IA64 systems using the x86
extension.
- Posted by David Craig on December 28th, 2007
Forget XP x64. It is the same as Server 2003 SP1, so why not use it? Also
Server 2003 SP1 comes in x86, x64, & ia64 versions. Don't forget Vista,
since you can't get a WHQL signature without providing a x64 version of your
driver. A driver install needs three things: sys, inf, & cat. Study the
inf files to understand the answer to your question. You will need to have
different names or locations on the install media for your drivers. I think
different names is the best since you can keep all the files in one
directory and the OS will choose the correct inf to install. You can have a
single inf, but that can get a little complex depending upon the number of
hardware IDs, however for a software driver it will work if done properly.
<nws_reader@yahoo.com> wrote in message
news:f9d0010b-d99c-482c-a5db-fb599d917e3d@e23g2000prf.googlegroups.com...
- Posted by nws_reader@yahoo.com on December 28th, 2007
I don't have an .inf file. My driver is a "application helper"
driver ... ver similar to the ioctl sample in the DDK. I'm using
Creat/Open/StartService() to load the driver.
Also, this tool is to be run on test enivronment only ... whenever a
device needs to be diagnosed for debugging purposes.
Can anyone help?
- Posted by sven.kreamer@gmail.com on December 29th, 2007
On Dec 29, 12:35*am, nws_rea...@yahoo.com wrote:
Since you have a 32-bit app, you will need to use
GetNativeSystemInfo() since GetSystemInfo() will lie for
compatibility. The caveat is GetNativeSystemInfo typically does not
exist in 32-bit Windows so you need to use GetProcAddress to test for
it first. Then you can check the result for
PROCESSOR_ARCHITECTURE_IA64 (Itanium).
- Posted by nws_reader@yahoo.com on January 2nd, 2008
This is perfect. Thank you!