Discussion:
WDM on 98/2K
(too old to reply)
Suvarna
2004-02-20 15:08:38 UTC
Permalink
Hello All,

We are trying to develop a USB bulk driver for a data-logging device.
For this we have used the sample driver provided by 2k DDK. With the
modifications that are required for the specific purpose, the driver
works fine on 2K/Xp. We intend to use the same source code on Windows
98 as well. We tried compiling the same on 98, however we faced
compilation errors, even with the effort of providing the necessary
libs & .h were not able to get rid of all of them. We understand that
WDM drivers are source code compatible, and hence went on for this
exercise. We also have tried using the .sys file that was build for 2K
the device did not enumerate.
Can anyone please suggest as to what would be the precaution that one
need to take while building the 2K-source driver for 98. Also can we
build the 98 driver using 2K DDK if yes what configuration settings/
switches we need to have. If any body could directly give the solution
that would be great else the reference document/book shall also be
very helpful. We are referring Walter Oneys book for reference. If we
have overlooked any point from the same it would be great if thats
pointed out.

Thanks & Regards,
-Suvarna.
vanathy
2004-02-23 01:06:11 UTC
Permalink
Hi Suvarna,

Are you using the correct build environment ??.

I have not used the Win2k DDK, so i cannot give you more pointers.

Hope this is helpful.

rgds
Vanathy
Post by Suvarna
Hello All,
We are trying to develop a USB bulk driver for a data-logging device.
For this we have used the sample driver provided by 2k DDK. With the
modifications that are required for the specific purpose, the driver
works fine on 2K/Xp. We intend to use the same source code on Windows
98 as well. We tried compiling the same on 98, however we faced
compilation errors, even with the effort of providing the necessary
libs & .h were not able to get rid of all of them. We understand that
WDM drivers are source code compatible, and hence went on for this
exercise. We also have tried using the .sys file that was build for 2K
the device did not enumerate.
Can anyone please suggest as to what would be the precaution that one
need to take while building the 2K-source driver for 98. Also can we
build the 98 driver using 2K DDK if yes what configuration settings/
switches we need to have. If any body could directly give the solution
that would be great else the reference document/book shall also be
very helpful. We are referring Walter Oneys book for reference. If we
have overlooked any point from the same it would be great if thats
pointed out.
Thanks & Regards,
-Suvarna.
Prakash Manivanan
2004-03-04 16:19:38 UTC
Permalink
hello.. why not include compiler definitions and then [#ifdef WIN98]
to ignore the section of codes that give you these errors ?

br: prakash
Post by Suvarna
Hello All,
We are trying to develop a USB bulk driver for a data-logging device.
For this we have used the sample driver provided by 2k DDK. With the
modifications that are required for the specific purpose, the driver
works fine on 2K/Xp. We intend to use the same source code on Windows
98 as well. We tried compiling the same on 98, however we faced
compilation errors, even with the effort of providing the necessary
libs & .h were not able to get rid of all of them. We understand that
WDM drivers are source code compatible, and hence went on for this
exercise. We also have tried using the .sys file that was build for 2K
the device did not enumerate.
Can anyone please suggest as to what would be the precaution that one
need to take while building the 2K-source driver for 98. Also can we
build the 98 driver using 2K DDK if yes what configuration settings/
switches we need to have. If any body could directly give the solution
that would be great else the reference document/book shall also be
very helpful. We are referring Walter Oneys book for reference. If we
have overlooked any point from the same it would be great if thats
pointed out.
Thanks & Regards,
-Suvarna.
Prakash Manivanan
2004-03-04 16:19:54 UTC
Permalink
hello.. why not include compiler definitions and then [#ifdef WIN98]
to ignore the section of codes that give you these errors ?

br: prakash
Post by Suvarna
Hello All,
We are trying to develop a USB bulk driver for a data-logging device.
For this we have used the sample driver provided by 2k DDK. With the
modifications that are required for the specific purpose, the driver
works fine on 2K/Xp. We intend to use the same source code on Windows
98 as well. We tried compiling the same on 98, however we faced
compilation errors, even with the effort of providing the necessary
libs & .h were not able to get rid of all of them. We understand that
WDM drivers are source code compatible, and hence went on for this
exercise. We also have tried using the .sys file that was build for 2K
the device did not enumerate.
Can anyone please suggest as to what would be the precaution that one
need to take while building the 2K-source driver for 98. Also can we
build the 98 driver using 2K DDK if yes what configuration settings/
switches we need to have. If any body could directly give the solution
that would be great else the reference document/book shall also be
very helpful. We are referring Walter Oneys book for reference. If we
have overlooked any point from the same it would be great if thats
pointed out.
Thanks & Regards,
-Suvarna.
Continue reading on narkive:
Loading...