Running VC 1.5 NMAKE under Win XP?

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 -
 
P

Parish

Jim said:
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'

COMMAND.COM still ships with XP - type COMMAND at the cmd command
prompt. Maybe running nmake under command.com may solve the problem?

The files CONFIG.NT and AUTOEXEC.NT exist in \windows\system32 and
perform the corresponding functions as config.sys and autoexec.bat.
There are usage comments in the files (e.g. using EMM in CONFIG.NT)
themselves about usage, plus Help & Support should contain more.

HTH

Regards,

Parish
 
R

Richard Urban

Whenever I have something that I can't run under Windows XP, I just run
Windows 98 **from within Windows XP**. It will allow me to run those old DOS
games along with some older 16 bit programs.

--
Regards:

Richard Urban

aka Crusty (-: Old B@stard :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top