![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Как из WinZip'a прочитать файл !
Katleta © (2004-07-24 01:58:00)Имеется обычный WinZip !
В нем лежат 2 файла !
BMP
TXT
Так вот как мне сделать так что бы прога читала из этого WinZip'a
графический файл и текстовый !
ЗАРАНЕЕ СПАСИБО !
Katleta (2004-07-26 01:49:00) [1]НЕТ
Луарвик (2004-07-25 21:23:00) [2]На этом сайте компоненты ваще качаються?
Katleta (2004-07-25 20:57:00) [3]
> А из зипа че стырить сложно?
Если он будет с паролем то на врятли :)
Sanek_metaller (2004-07-25 04:32:00) [4]А из зипа че стырить сложно?
Gero (2004-07-25 04:00:00) [5]
> Katleta (25.07.04 03:38)
А что тебе надо?
Если [0], то ответ тебе уже дали.
Если что другое, говори, не стесняйся.
Katleta (2004-07-25 03:38:00) [6]Найдутся всякие умники !
Ты лучше бы помог чем нибуть плз :)
Gero (2004-07-25 03:21:00) [7]
> Самое главное чтоб графику не стырили из проги !
LOL
Кто ее может стырить? Грабители?
Katleta (2004-07-25 01:06:00) [8]Ну мне не обязательно в ZIP
Можно и в другой формат !
Самое главное чтоб графику не стырили из проги !
Я нашел GPA Manager а как им пользоваться не знаю
т.е как работать с архивом не знаю
Piter (2004-07-25 01:04:00) [9]Katleta (24.07.04 22:10) [4]
Все компоненты там только для ДОБАВЛЕНИЯ ФАЙЛОВ в ZIP И ИЗВЛЕЧЕНИЕ !
А ЧТЕНИЯ ЧЕТО НЕТУ !
а после извлечения религия мешает этот файл прочесть?
Katleta (2004-07-25 01:02:00) [10]A. Local file header:
local file header signature 4 bytes (0x04034b50)
version needed to extract 2 bytes
general purpose bit flag 2 bytes
compression method 2 bytes
last mod file time 2 bytes
last mod file date 2 bytes
crc-32 4 bytes
compressed size 4 bytes
uncompressed size 4 bytes
filename length 2 bytes
extra field length 2 bytes
filename (variable size)
extra field (variable size)
B. Central directory structure:
[file header] . . . end of central dir record
File header:
central file header signature 4 bytes (0x02014b50)
version made by 2 bytes
version needed to extract 2 bytes
general purpose bit flag 2 bytes
compression method 2 bytes
last mod file time 2 bytes
last mod file date 2 bytes
crc-32 4 bytes
compressed size 4 bytes
uncompressed size 4 bytes
filename length 2 bytes
extra field length 2 bytes
file comment length 2 bytes
disk number start 2 bytes
internal file attributes 2 bytes
external file attributes 4 bytes
relative offset of local header 4 bytes
filename (variable size)
extra field (variable size)
file comment (variable size)
End of central dir record:
end of central dir signature 4 bytes (0x06054b50)
number of this disk 2 bytes
number of the disk with the
start of the central directory 2 bytes
total number of entries in
the central dir on this disk 2 bytes
total number of entries in
the central dir 2 bytes
size of the central directory 4 bytes
offset of start of central
directory with respect to
the starting disk number 4 bytes
zipfile comment length 2 bytes
zipfile comment (variable size)
это случайно не структура ? :)
тихий вовочка (2004-07-24 23:09:00) [11]Я использую ZipMaster. Открываешь файл, и создаешь поток в который нужный файл распаковывается. При этом ничего и никуда не распаковывается, кроме как в памяти.
Katleta (2004-07-24 22:10:00) [12]
> http://www.delphimaster.ru/cgi-bin/search.pl?words=zip&n=10
Все компоненты там только для ДОБАВЛЕНИЯ ФАЙЛОВ в ZIP И ИЗВЛЕЧЕНИЕ !
А ЧТЕНИЯ ЧЕТО НЕТУ !
Aleksey V.P. (2004-07-24 12:35:00) [13]Abbrevia v3.x (бесплатные) от TurboPower software company
Delf (2004-07-24 11:29:00) [14]Есть много безплатных компонент которые работают з zip-архивами
Поищи в нете.
Да и зачем далеко ходить, на этом сайте в разделе кладовка есть такие компоненты
http://www.delphimaster.ru/cgi-bin/search.pl?words=zip&n=10
Леха (2004-07-24 09:17:00) [15]Для этого нужно знать структуру архива zip, а иначе никак