Changeset 2401 for branches/eraser6/6.0
- Timestamp:
- 12/24/2011 3:09:00 AM (5 months ago)
- Location:
- branches/eraser6/6.0/Installer/Bootstrapper
- Files:
-
- 3 edited
-
Bootstrapper.cpp (modified) (3 diffs)
-
Bootstrapper.vcproj (modified) (2 diffs)
-
stdafx.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/6.0/Installer/Bootstrapper/Bootstrapper.cpp
r1677 r2401 116 116 size_t CurrentOffset; 117 117 118 static SRes LZMemStreamLook(void* object, void** buf, size_t* size)118 static SRes LZMemStreamLook(void* object, const void** buf, size_t* size) 119 119 { 120 120 if (*size == 0) … … 238 238 size_t convertedChars = 0; 239 239 wchar_t fileName[MAX_PATH]; 240 mbstowcs_s(&convertedChars, fileName, file->Name, sizeof(fileName) / sizeof(fileName[0]));240 SzArEx_GetFileNameUtf16(&db, i, reinterpret_cast<UInt16*>(fileName)); 241 241 242 242 //Split the path to get the file name only. … … 259 259 while (result == SZ_OK && destFileSize) 260 260 { 261 result = SzAr _Extract(&db, &stream.InStream, i, &blockIndex,261 result = SzArEx_Extract(&db, &stream.InStream, i, &blockIndex, 262 262 &outBuffer, &outBufferSize, &offset, &processedSize, &allocImp, 263 263 &allocTempImp); -
branches/eraser6/6.0/Installer/Bootstrapper/Bootstrapper.vcproj
r2400 r2401 62 62 <Tool 63 63 Name="VCLinkerTool" 64 AdditionalDependencies="comctl32.lib LzmaLib.lib"64 AdditionalDependencies="comctl32.lib 7zLib.lib" 65 65 OutputFile="$(OutDir)\Bootstrapper.exe" 66 66 LinkIncremental="2" … … 137 137 <Tool 138 138 Name="VCLinkerTool" 139 AdditionalDependencies="comctl32.lib LzmaLib.lib"139 AdditionalDependencies="comctl32.lib 7zLib.lib" 140 140 OutputFile="$(OutDir)\Bootstrapper.exe" 141 141 LinkIncremental="1" -
branches/eraser6/6.0/Installer/Bootstrapper/stdafx.h
r1677 r2401 39 39 //7-zip SDK 40 40 extern "C" { 41 #include <C/7z.h> 42 #include <C/7zAlloc.h> 41 43 #include <C/7zCrc.h> 42 #include <C/Archive/7z/7zIn.h>43 #include <C/Archive/7z/7zAlloc.h>44 #include <C/Archive/7z/7zDecode.h>45 #include <C/Archive/7z/7zExtract.h>46 44 } 47 45
Note: See TracChangeset
for help on using the changeset viewer.
