Ok, I read the release notes for the Win2k3 DDK, and it claims that DDK
examples should not be compiled on a previous version of the compiler
than what the DDK was written for. However it also says that for
Win98/ME drivers there are cases where the driver MUST be compiled using
VC6, because a later compiler simply will fail.

Does this mean that in order to compile drivers at all you must use the
version of the compiler that the DDK is written in? Can I build a
driver for 2K or XP using VC6 and the Win2K3 DDK?

TIA

Re: Using DDK with previous version of VC by Mark

Mark
Wed Mar 16 21:29:06 CST 2005

Jason Tost wrote:
> Ok, I read the release notes for the Win2k3 DDK, and it claims that DDK
> examples should not be compiled on a previous version of the compiler
> than what the DDK was written for. However it also says that for
> Win98/ME drivers there are cases where the driver MUST be compiled using
> VC6, because a later compiler simply will fail.
>
> Does this mean that in order to compile drivers at all you must use the
> version of the compiler that the DDK is written in? Can I build a
> driver for 2K or XP using VC6 and the Win2K3 DDK?
>
> TIA
Can you? Well probably you can, but the xp and later ddks make it rather
difficult to do so. Ignoring the 98/ME mess, you should just use the
supplied ddk build tools.

--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

Re: Using DDK with previous version of VC by Pavel

Pavel
Wed Mar 16 22:14:07 CST 2005

Win9x is a special case. It is obsolete and tools for it are no longer maintained,
so VS6 and win98 DDK is all you got.
(btw, have you noticed that new PCs no longer have the "turbo off" button to run DOS programs?)

The name of Win2003 DDK is a bit deceiving - it supports all systems
listed in it's release notes (not just w2003), if you properly set up the environment as documented.
--PA


"Jason Tost" <no-spam-32-jason@aspenmt.com> wrote in message news:#QgFOkoKFHA.3552@TK2MSFTNGP12.phx.gbl...
> Ok, I read the release notes for the Win2k3 DDK, and it claims that DDK
> examples should not be compiled on a previous version of the compiler
> than what the DDK was written for. However it also says that for
> Win98/ME drivers there are cases where the driver MUST be compiled using
> VC6, because a later compiler simply will fail.
>
> Does this mean that in order to compile drivers at all you must use the
> version of the compiler that the DDK is written in? Can I build a
> driver for 2K or XP using VC6 and the Win2K3 DDK?
>
> TIA



Re: Using DDK with previous version of VC by Jason

Jason
Thu Mar 17 10:09:25 CST 2005

Mark Roddy wrote:
> Jason Tost wrote:
>
>> Ok, I read the release notes for the Win2k3 DDK, and it claims that
>> DDK examples should not be compiled on a previous version of the
>> compiler than what the DDK was written for. However it also says that
>> for Win98/ME drivers there are cases where the driver MUST be compiled
>> using VC6, because a later compiler simply will fail.
>>
>> Does this mean that in order to compile drivers at all you must use
>> the version of the compiler that the DDK is written in? Can I build a
>> driver for 2K or XP using VC6 and the Win2K3 DDK?
>>
>> TIA
>
> Can you? Well probably you can, but the xp and later ddks make it rather
> difficult to do so. Ignoring the 98/ME mess, you should just use the
> supplied ddk build tools.
>

That's what I needed to know; is it possible to build the drivers using
VC6? Apparently yes. Is it easy? Apparently by no means. Until I can
get a copy of the current version of the compiler I will just try using
the build tools from the DDK.

Thank you very much!

Re: Using DDK with previous version of VC by Mark

Mark
Thu Mar 17 18:19:33 CST 2005

Jason Tost wrote:
> Mark Roddy wrote:
>
>> Jason Tost wrote:
>>
>>> Ok, I read the release notes for the Win2k3 DDK, and it claims that
>>> DDK examples should not be compiled on a previous version of the
>>> compiler than what the DDK was written for. However it also says
>>> that for Win98/ME drivers there are cases where the driver MUST be
>>> compiled using VC6, because a later compiler simply will fail.
>>>
>>> Does this mean that in order to compile drivers at all you must use
>>> the version of the compiler that the DDK is written in? Can I build
>>> a driver for 2K or XP using VC6 and the Win2K3 DDK?
>>>
>>> TIA
>>
>>
>> Can you? Well probably you can, but the xp and later ddks make it
>> rather difficult to do so. Ignoring the 98/ME mess, you should just
>> use the supplied ddk build tools.
>>
>
> That's what I needed to know; is it possible to build the drivers using
> VC6? Apparently yes. Is it easy? Apparently by no means. Until I can
> get a copy of the current version of the compiler I will just try using
> the build tools from the DDK.
>
> Thank you very much!

You should not be using the current version of the compiler either. You
should be using the toolset supplied with the DDK. End of story.


--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com