Visual Studio 6.0, C/C++ Build errors

Hello,

I am using Visual Studio 6.0, SP6 for this project on a Windows 7 Ultimate Dell desktop PC to build and run a C/C++ program originally developed in Visual Studio 6.0 environment. I do have Visual Studio 2005, 2010, 2012, 2013 and 2015 pro versions.

Here is a link of where to get this source code: https://sourceforge.net/projects/mmm3/files/magic/2.94%20b19/

Here is what I get when I try to Build\Build All:


--------------------Configuration: About - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
About.cpp
AuthorPage.cpp
GuestbookPage.cpp
SFPage.cpp
StatLink.cpp
VersionPage.cpp
Generating Code...
Linking...
   Creating library ..\Release/About.lib and object ..\Release/About.exp
The system cannot find the file specified.
                     Ultimate Packer for eXecutables
         Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
UPX 1.23w        Markus F.X.J. Oberhumer & Laszlo Molnar         Sep 5th 2002
        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: ..\Distrib\About.dll: FileNotFoundException: ..\Distrib\About.dll
Packed 0 files.
Error executing c:\windows\system32\cmd.exe.

Magic.exe - 1 error(s), 0 warning(s)



Here is the contents of the .PLG file after Rebuild All:


--------------------Configuration: About - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/About.res" /d "NDEBUG" /d "_AFXDLL"
 "C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\About.rc"" 
Creating temporary file "c:\sp6temp\RSP620C.tmp" with contents
[
/nologo /MD /W4 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D
 "_USRDLL" /Fp"Release/About.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\About.cpp"
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\AuthorPage.cpp"
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\GuestbookPage.cpp"
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\SFPage.cpp"
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\StatLink.cpp"
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\VersionPage.cpp"
]
Creating command line "cl.exe @c:\sp6temp\RSP620C.tmp" 
Creating temporary file "c:\sp6temp\RSP620D.tmp" with contents
[
/nologo /MD /W4 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D
 "_USRDLL" /Fp"Release/About.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 
"C:\Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\About\StdAfx.cpp"
]
Creating command line "cl.exe @c:\sp6temp\RSP620D.tmp" 
Creating temporary file "c:\sp6temp\RSP620E.tmp" with contents
[
version.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\Release/About.pdb"
 /machine:I386 /def:".\About.def" /out:"..\Release/About.dll" /implib:"..\Release/About.lib" 
".\Release\About.obj"
".\Release\AuthorPage.obj"
".\Release\GuestbookPage.obj"
".\Release\SFPage.obj"
".\Release\StatLink.obj"
".\Release\StdAfx.obj"
".\Release\VersionPage.obj"
".\Release\About.res"
]
Creating command line "link.exe @c:\sp6temp\RSP620E.tmp"
Output Window

Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
About.cpp
AuthorPage.cpp
GuestbookPage.cpp
SFPage.cpp
StatLink.cpp
VersionPage.cpp
Generating Code...
Linking...
   Creating library ..\Release/About.lib and object ..\Release/About.exp
Creating temporary file "c:\sp6temp\RSP7917.bat" with contents
[
@echo off
copy \Users\Administrator.Tony-PC\Documents\Visual Studio 60\magic-294b19\Release\About.dll  ..\Distrib\
..\BIN\upx ..\Distrib\About.dll
]
Creating command line "c:\sp6temp\RSP7917.bat"

The system cannot find the file specified.
                     Ultimate Packer for eXecutables
         Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
UPX 1.23w        Markus F.X.J. Oberhumer & Laszlo Molnar         Sep 5th 2002

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: ..\Distrib\About.dll: FileNotFoundException: ..\Distrib\About.dll

Packed 0 files.
Error executing c:\windows\system32\cmd.exe.

Results

Magic.exe - 1 error(s), 0 warning(s)


Any help that anyone can provide would be gratefully appreciated.

Thanks,
Tony
Last edited on
Create the directory "C:\sp6temp" and give it write permission for the user you're running visual studio as.
you can download vs2005 2008 or other by search msdn itellyou, then rebuid it
Topic archived. No new replies allowed.