Discussion:
Upgrade a driver for Win7 x64
(too old to reply)
Roberto Agostino
2010-08-22 18:56:12 UTC
Permalink
Hi all.

I have WinDDK (7600.16385.0) and I produced an application to manage from
command line a driver (install, config and remove it). This application has
been made and tested for Win XP e Vista, and so it is ok.

If I would to upgrade it for Win7 x64... what are the things I have to
analyze? Is it enought to recompile the programs in the right build
enviroment?

Thanks for your help.

R.
Maxim S. Shatskih
2010-08-22 19:03:57 UTC
Permalink
Post by Roberto Agostino
If I would to upgrade it for Win7 x64... what are the things I have to
analyze? Is it enought to recompile the programs in the right build
enviroment?
Probably even the old XP tool will work.

Is the driver PnP?
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Roberto Agostino
2010-08-25 07:40:58 UTC
Permalink
More precisly, I have made a tool that install a ramdisk driver. All this
works in Windows XP and Vista.

Because someone tells me that he should take advantages of the new features
of Win7 x64, I tries to recompile the ramdisk driver on an enviroment build
for Win7 x64 and give him the produced one, but the mounter tools does not
succeed to mount the driver...

so I am here to asking what is that needs to be done.

I know that the mounter tool, using the API of SetupAPI.dll, updates the
driver as it was a PnP.

Thanks for your reply.
Post by Roberto Agostino
If I would to upgrade it for Win7 x64... what are the things I have to
analyze? Is it enought to recompile the programs in the right build
enviroment?
Probably even the old XP tool will work.

Is the driver PnP?
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Pavel A.
2010-08-25 10:05:11 UTC
Permalink
Also, make sure that your tools that use SetupAPI are 64-bit on 64-bit OS.
32-bit apps on x64 OS call the wrong SetupApi , or something like that
(google for similar questions).

-- pa
Post by Roberto Agostino
More precisly, I have made a tool that install a ramdisk driver. All this
works in Windows XP and Vista.
Because someone tells me that he should take advantages of the new
features of Win7 x64, I tries to recompile the ramdisk driver on an
enviroment build for Win7 x64 and give him the produced one, but the
mounter tools does not succeed to mount the driver...
so I am here to asking what is that needs to be done.
I know that the mounter tool, using the API of SetupAPI.dll, updates the
driver as it was a PnP.
Thanks for your reply.
Post by Roberto Agostino
If I would to upgrade it for Win7 x64... what are the things I have to
analyze? Is it enought to recompile the programs in the right build
enviroment?
Probably even the old XP tool will work.
Is the driver PnP?
--
Maxim S. Shatskih
Windows DDK MVP
http://www.storagecraft.com
Maxim S. Shatskih
2010-08-25 10:31:37 UTC
Permalink
Yes, correct.

32bit setupapi on 64bit system is just plain defunct.
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Post by Pavel A.
Also, make sure that your tools that use SetupAPI are 64-bit on 64-bit OS.
32-bit apps on x64 OS call the wrong SetupApi , or something like that
(google for similar questions).
-- pa
Post by Roberto Agostino
More precisly, I have made a tool that install a ramdisk driver. All this
works in Windows XP and Vista.
Because someone tells me that he should take advantages of the new
features of Win7 x64, I tries to recompile the ramdisk driver on an
enviroment build for Win7 x64 and give him the produced one, but the
mounter tools does not succeed to mount the driver...
so I am here to asking what is that needs to be done.
I know that the mounter tool, using the API of SetupAPI.dll, updates the
driver as it was a PnP.
Thanks for your reply.
Post by Roberto Agostino
If I would to upgrade it for Win7 x64... what are the things I have to
analyze? Is it enought to recompile the programs in the right build
enviroment?
Probably even the old XP tool will work.
Is the driver PnP?
--
Maxim S. Shatskih
Windows DDK MVP
http://www.storagecraft.com
Maxim S. Shatskih
2010-08-25 10:30:52 UTC
Permalink
Post by Roberto Agostino
Because someone tells me that he should take advantages of the new features
of Win7 x64
And why do you need these new features?

Also note that, for Win7 x64, the driver must be signed.
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Roberto Agostino
2010-08-25 15:26:56 UTC
Permalink
Thanks to all for your contributions.

@Maxim
The project in topic is:
http://code.msdn.microsoft.com/ramdisktools

and the answer to your question is in the discussion area.

Thank you.
Post by Roberto Agostino
Because someone tells me that he should take advantages of the new features
of Win7 x64
And why do you need these new features?

Also note that, for Win7 x64, the driver must be signed.
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Loading...