Windows 98/Me?

Gentlemen,

we’ve discovered WDK “Windows 2000 Build” environment produces binaries
refusing
to run under Windows 98/Me… I know it sounds stupid be we still have
customers claiming
support for these OSes. Is there any way to make WDK produce backward
compatible executables?

Thanks!

Anton Kolomyeytsev

“Anton A. Kolomyeytsev” wrote in message news:xxxxx@ntdev…
> Gentlemen,
>
> we’ve discovered WDK “Windows 2000 Build” environment produces binaries
> refusing
> to run under Windows 98/Me… I know it sounds stupid be we still have
> customers claiming
> support for these OSes. Is there any way to make WDK produce backward
> compatible executables?
>
> Thanks!
>
> Anton Kolomyeytsev

These binaries are drivers or user mode EXEs?
Have you tried the dependency viewer on them?

–PA

ANTON:

I can’t say that I have looked at Win95/Win98 in something like seven
years, but, after checking what Pavel mentioned, I suppose I would look
to see if the -OPT:NOWIN98 alignment linker option is being specified.
This would, I believe, cause the loader to fail them on 98.

mm

>> xxxxx@writeme.com 2007-02-19 19:49 >>>
“Anton A. Kolomyeytsev” wrote in message
news:xxxxx@ntdev…
> Gentlemen,
>
> we’ve discovered WDK “Windows 2000 Build” environment produces
binaries
> refusing
> to run under Windows 98/Me… I know it sounds stupid be we still
have
> customers claiming
> support for these OSes. Is there any way to make WDK produce
backward
> compatible executables?
>
> Thanks!
>
> Anton Kolomyeytsev

These binaries are drivers or user mode EXEs?
Have you tried the dependency viewer on them?

–PA


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Win32 User-Mode executables. Actually I’ve found a workaround already:
adding _NT_TARGET_VERSION=0x0400 to the
“sources” or environment variables makes Windows 2000 build produce backward
compatible stuff. The only ugly
thing I had to do - copy msvcrt_win2000.obj -> msvcrt_winnt4.obj (w/o this
file build does not work). Code seems
to work fine (still waiting for automatic test, can take a couple of hours).

Is there any more “civilized” way to do this?

Regards,
Anton A. Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pavel A.
Sent: Tuesday, February 20, 2007 2:50 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Windows 98/Me?

“Anton A. Kolomyeytsev” wrote in message
news:xxxxx@ntdev…
> Gentlemen,
>
> we’ve discovered WDK “Windows 2000 Build” environment produces binaries
> refusing
> to run under Windows 98/Me… I know it sounds stupid be we still have
> customers claiming
> support for these OSes. Is there any way to make WDK produce backward
> compatible executables?
>
> Thanks!
>
> Anton Kolomyeytsev

These binaries are drivers or user mode EXEs?
Have you tried the dependency viewer on them?

–PA


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Try to dump PE headers. It can be OS version which can be overriden in SOURCES, if I remember correctly.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]


From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of Anton A. Kolomyeytsev[SMTP:xxxxx@rocketdivision.com]
Reply To: Windows System Software Devs Interest List
Sent: Tuesday, February 20, 2007 12:34 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Windows 98/Me?

Gentlemen,

we’ve discovered WDK “Windows 2000 Build” environment produces binaries
refusing
to run under Windows 98/Me… I know it sounds stupid be we still have
customers claiming
support for these OSes. Is there any way to make WDK produce backward
compatible executables?

Thanks!

Anton Kolomyeytsev


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

The last DDK that directly supported WinDos9x/Minime was the Windows XP SP1
DDK. That DDK and its hopeless development environment are still available
from MSDN archives. Walter Oney, back before he decided that law was his
real love, had a compatibility library that made it much easier to build
drivers that would run on 98 although they were built for W2K. I think it
came with his book and may still be available. As Pavel mentioned,
depends.exe is your friend.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-278625-
xxxxx@lists.osr.com] On Behalf Of Pavel A.
Sent: Monday, February 19, 2007 7:50 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Windows 98/Me?

“Anton A. Kolomyeytsev” wrote in message
> news:xxxxx@ntdev…
> > Gentlemen,
> >
> > we’ve discovered WDK “Windows 2000 Build” environment produces
> binaries
> > refusing
> > to run under Windows 98/Me… I know it sounds stupid be we still
> have
> > customers claiming
> > support for these OSes. Is there any way to make WDK produce backward
> > compatible executables?
> >
> > Thanks!
> >
> > Anton Kolomyeytsev
>
> These binaries are drivers or user mode EXEs?
> Have you tried the dependency viewer on them?
>
> --PA
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer