J
Jim Johnson
Yes, I need to do this. If you feel inclined to mock me, either stop reading
or skip to the end of the post where I explain my motivations.
I'm trying to use VC 1.5's NMAKE utility to build a 16-bit DLL as part of an
automated build. This used to work on my Win98 development system, but since
I've "upgraded" to XP, the make utility won't run. Here's the error message:
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
cl /f- /Gs /G2 /Gy /W3 /Gf /ALw /O1 /Ol /Op /Or /Os /Ob1 /D "NDEBUG" /D
"_USRDLL" /D "_WINDLL" /I "\." /I "c:\projects\metaph~1\midi" /I "c:\projects
\metaph~1\other" /I "c:\projects\techno~1\shared~1" /FR /GD /c TECHAPI.CPP
techapi.cpp
Out of memory
Which indicates not enough DOS extended memory, or sumfin - man, it was good
to be able to forget that crap.
So I tried using NMAKER, the real-mode make utility - and got a different
error:
NMAKE : fatal error U1045: spawn failed : Arg list too long
Stop.
cl /f- /Gs /G2 /Gy /W3 /Gf /ALw /O1 /Ol /Op /Or /Os /Ob1 /D "NDEBUG" /D
"_USRDLL" /D "_WINDLL" /I "\." /I "c:\projects\metaph~1\midi" /I "c:\projects
\metaph~1\other" /I "c:\projects\techno~1\shared~1" /FR /GD /c TECHAPI.CPP
This is better, but the "arg list too long" error indicates that I need to
increase the envirnoment size. Except - f&*() me - I can't figure out how to
do that under XP.
Any suggestions?
And here's why I have to do this...
... this is for a personal project. I write MIDI software, and because of the
limitations of 9x platform, MIDI code must run in a 16-bit DLL. This code
used to be a commercial product, but at the moment I'm updating it for my
personal use.. and it needs to run on my little Dell 600 MHz laptop, which
has Win98 on it. Upgrading to XP on the laptop is not an option for a variety
of reasons. I got this nice shiny XP desktop for Xmas, but I didn't realize
I'd have these build problems.
TIA to anyone who can help -
or skip to the end of the post where I explain my motivations.
I'm trying to use VC 1.5's NMAKE utility to build a 16-bit DLL as part of an
automated build. This used to work on my Win98 development system, but since
I've "upgraded" to XP, the make utility won't run. Here's the error message:
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
cl /f- /Gs /G2 /Gy /W3 /Gf /ALw /O1 /Ol /Op /Or /Os /Ob1 /D "NDEBUG" /D
"_USRDLL" /D "_WINDLL" /I "\." /I "c:\projects\metaph~1\midi" /I "c:\projects
\metaph~1\other" /I "c:\projects\techno~1\shared~1" /FR /GD /c TECHAPI.CPP
techapi.cpp
Out of memory
Which indicates not enough DOS extended memory, or sumfin - man, it was good
to be able to forget that crap.
So I tried using NMAKER, the real-mode make utility - and got a different
error:
NMAKE : fatal error U1045: spawn failed : Arg list too long
Stop.
cl /f- /Gs /G2 /Gy /W3 /Gf /ALw /O1 /Ol /Op /Or /Os /Ob1 /D "NDEBUG" /D
"_USRDLL" /D "_WINDLL" /I "\." /I "c:\projects\metaph~1\midi" /I "c:\projects
\metaph~1\other" /I "c:\projects\techno~1\shared~1" /FR /GD /c TECHAPI.CPP
This is better, but the "arg list too long" error indicates that I need to
increase the envirnoment size. Except - f&*() me - I can't figure out how to
do that under XP.
Any suggestions?
And here's why I have to do this...
... this is for a personal project. I write MIDI software, and because of the
limitations of 9x platform, MIDI code must run in a 16-bit DLL. This code
used to be a commercial product, but at the moment I'm updating it for my
personal use.. and it needs to run on my little Dell 600 MHz laptop, which
has Win98 on it. Upgrading to XP on the laptop is not an option for a variety
of reasons. I got this nice shiny XP desktop for Xmas, but I didn't realize
I'd have these build problems.
TIA to anyone who can help -