将 KByS 0.28 所必须含括LzmaLib.lib稍作处理
以及一些VC60不合VC90语法叙述修改
(这一部分耗费了不少时间)
程序编辑期间虽然还是一堆警告信息
现在已经修改至最低限度尽量减少状态
好累啊
(重新取得 lzma457 SourceCode
http://www.7-zip.org/sdk.html
http://jaist.dl.sourceforge.net/ ... zip/lzma457.tar.bz2
)
已经能成功顺利编译 KByS 0.28
好高兴啊
呵呵
编译环境::
01. WindowsXP Home
02. Visual Studio 2008 Professional 版 (VC++9.0)
03. NMAKE Compiler
复制内容到剪贴板 代码:[D:\OO\MsVS90\VS2k8\Projects\KByS00]nmake /f makefile /a
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
rc /r /D"NDEBUG" /D"_VC80_UPGRADE=0x0600" /l 0x404 /D_MBCS /D_X86_ KByS.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl @C:\DOCUME~1\ACER\LOCALS~1\Temp\nm4CA.tmp
KByS.c
Erika.c
Erika.c(12) : warning C4244: '=' : 將 'DWORD' 轉換為 'char',由於型別不同,可能導致資料遺失
Erika.c(24) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using st
rcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(25) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using st
rcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
D:\OO\MsVS90\VC\INCLUDE\string.h(79) : 請參閱 'strcat' 的宣告
Erika.c(178) : warning C4244: '=' : 將 'DWORD' 轉換為 'BYTE',由於型別不同,可能導致資料遺失
Erika.c(277) : warning C4018: '<' : signed/unsigned 不相符
Erika.c(298) : warning C4018: '<' : signed/unsigned 不相符
Erika.c(321) : warning C4244: '=' : 將 'DWORD' 轉換為 'BYTE',由於型別不同,可能導致資料遺失
Erika.c(391) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using s
trcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details
.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(403) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using s
trcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details
.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(971) : warning C4102: 'ep' : 未參考的標籤
Erika.c(1134) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1295) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1297) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1303) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1305) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1328) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1330) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1338) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
Erika.c(1340) : 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 detail
s.
D:\OO\MsVS90\VC\INCLUDE\string.h(74) : 請參閱 'strcpy' 的宣告
正在產生程式碼...
link /incremental:no /debug:none @C:\DOCUME~1\ACER\LOCALS~1\Temp\nm4CB.tmp
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
/subsystem:windows /out:KByS.exe /map:KByS.map
KByS.obj Erika.obj KByS.res /SubSystem:Windows /Dynamicbase:NO /Machine:X86 comctl32.lib LzmaLib.
lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.li
b oleaut32.lib uuid.lib odbc32.lib odbccp32.lib DelayImp.lib
[D:\OO\MsVS90\VS2k8\Projects\KByS00]
完成后获得结果
KByS01.jpg (15.69 KB)
2008-4-30 02:06
运行测试无误OK!
KByS02.jpg (37.24 KB)
2008-4-30 02:06
最后观察一下PE结构
