![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| XP Pro | Code compiled on old visual studio. Running VS2008 Pro now Hi I'm trying to compile some code that was written on a previous version of Visual Studio. I'm new to Visual Studio and know some C++ but am also trying to pick up VC++ now. I've done some research on the web and found a thread that mentioned that the cstring file is completely updated in VS2008 and so the dll's must be recompiled? I'm not sure how to work with dlls, nor do i know how to recompile them. Any help is appreciated! Here's the related forum thread: Visual Studio 2008 Link Error for VS6.0 Project Thanks! Kevin Code: ------ Rebuild All started: Project: adsa1, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'adsa1', configuration 'Debug|Win32'
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0600 (Windows Vista)
Compiling...
ADSAP.C
ELLIP.C
ERRORFUN.C
IMG.C
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\img.c(28) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\img.c(51) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(306) : see declaration of 'close'
IMGREAD.C
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgread.c(27) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(316) : see declaration of 'open'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgread.c(32) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(317) : see declaration of 'read'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgread.c(42) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(317) : see declaration of 'read'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgread.c(91) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(317) : see declaration of 'read'
imgtif.c
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(19) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(21) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(22) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(23) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(24) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(26) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(27) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(27) : error C2059: syntax error : ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(27) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 9.0\vc\include\cstring(27) : error C2059: syntax error : ':'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(104) : warning C4013: 'CheckTIFF' undefined; assuming extern returning int
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(120) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(216) : warning C4133: '=' : incompatible types - from 'float **' to 'int **'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(218) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(219) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(228) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(229) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(234) : warning C4018: '<' : signed/unsigned mismatch
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgtif.c(608) : warning C4244: 'return' : conversion from 'double' to 'int', possible loss of data
IMGWRITE.C
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgwrite.c(26) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(316) : see declaration of 'open'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgwrite.c(81) : warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(322) : see declaration of 'write'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\imgwrite.c(83) : warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\io.h(322) : see declaration of 'write'
LIB.C
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(114) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(115) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(152) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(175) : warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(256) : see declaration of 'fscanf'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(178) : warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(256) : see declaration of 'fscanf'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(191) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(194) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(235) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(254) : warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(256) : see declaration of 'fscanf'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\lib.c(289) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'
PARTIALS.C
PROFILE.C
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(295) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][5]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(295) : warning C4024: 'DVERK' : different types for formal and actual parameter 10
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(299) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][11]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(299) : warning C4024: 'DVERK' : different types for formal and actual parameter 10
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(303) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][20]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(303) : warning C4024: 'DVERK' : different types for formal and actual parameter 10
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(627) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][5]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(627) : warning C4024: 'INTRP' : different types for formal and actual parameter 9
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(631) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][11]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(631) : warning C4024: 'INTRP' : different types for formal and actual parameter 9
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(636) : warning C4047: 'function' : 'double **' differs in levels of indirection from 'double [14][20]'
c:\documents and settings\kevin\my documents\uh work\asda software - post-cd\adsainterf 3.0 source\adsa\profile.c(636) : warning C4024: 'INTRP' : different types for formal and actual parameter 9
STATS.C
WEIGHT.C
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug\adsa1.sbr': No such file or directory
Build log was saved at "file://c:\Documents and Settings\kevin\My Documents\UH Work\ASDA Software - Post-CD\AdsaInterf 3.0 source\Debug\BuildLog.htm"
adsa1 - 47 error(s), 40 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
|
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Detect which version of Visual Studio compiled a program | .NET General | |||
| Problem running VS2008 Compiled EXE | .NET General | |||
| Running a script from within Visual Studio? | PowerShell | |||
| Visual Studio 6 setup is not running in windows vista businees RC1 | Vista installation & setup | |||