Visual Basic, .NET, ASP, VBScript
 

   
   
     

Форум - .NET

Страница:

 

  Вопрос: Unrar.dll Добавлено: 19.11.03 01:48  

Автор вопроса:  Doomsday

Люди помогите!

Не могу разобраться с unrar.dll (см. http://www.nptus.ru/~doomsday)

В VB6 все работает.

В С++ тоже все работает

В VB.NET не хочет...

Вот неоконченный класс:

Public Class UnRARDLL

Private Const RAR_OM_LIST As Integer = 0

Private Const RAR_OM_EXTRACT As Integer = 1

Private Structure RARHeaderData

Public ArcName As String

Public FileName As String

Public Flags As Integer

Public PackSize As Integer

Public UnpSize As Integer

Public HostOS As Integer

Public FileCRC As Integer

Public FileTime As Integer

Public UnpVer As Integer

Public Method As Integer

Public FileAttr As Integer

Public CmtBuf As String

Public CmtBufSize As Integer

Public CmtSize As Integer

Public CmtState As Integer

End Structure

Private Structure RAROpenArchiveData

Public ArcName As String

Public OpenMode As Integer

Public OpenResult As Integer

Public CmtBuf As String

Public CmtBufSize As Integer

Public CmtSize As Integer

Public CmtState As Integer

End Structure

Private Declare Function RAROpenArchive Lib "UnRAR.dll" (ByRef ArchiveData As RAROpenArchiveData) As Integer

Private Declare Function RARCloseArchive Lib "UnRAR.dll" (ByVal hArcData As Integer) As Integer

Private Declare Ответить

  Ответы Всего ответов: 0  

Нет ответов

Страница:

Поиск по форуму



© Copyright 2002-2011 VBNet.RU | Пишите нам