Restored from previous forum. Originally posted by Fangbeast.
Anyone have any CAB/UnCAB DLL and code to use it? I am getting desperate (Many problems would be solved by such a solution. The way I do it now causes far too many problems)
We are Dyslexic of Borg, prepare to have your ass laminated!
Restored from previous forum. Originally posted by ricardo.
Let me see if tomorrow i can see if this codes offers some alternative that could be translated to PB, im thinking now that it may call activex and in this case wont be usefull for you, but let see... but tomorrow my friend, its 3:07 a.m. here : )
Restored from previous forum. Originally posted by ricardo.
Hi,
The VB code uses an commandline executable from Microsoft to CAB a file, the executable name is MAKECAB (150K) and its from Microsoft. If you want me to send it to you just ask it.
To UNCAB the use a VB dll named VB6STKIT.DLL using the next call:
Declare Function ExtractFileFromCab Lib "vb6stkit.dll" (ByVal Cab As String, ByVal File As String, ByVal Dest As String, ByVal iCab As Long, ByVal sSrc As String) As Long
source File to compress.
destination File name to give compressed file. If omitted, the
last character of the source file name is replaced
with an underscore (_) and used as the destination.
/F directives A file with MakeCAB directives (may be repeated).
/D var=value Defines variable with specified value.
/L dir Location to place destination (default is current directory).
/V[n] Verbosity level (1..3).
Restored from previous forum. Originally posted by Fangbeast.
Using their EXE's causes massive resource problems, they leak memory like crazy here. I catalogue over 23,000 files using EXTRACT.EXE and RunProgram. It's slow, inneficient and causes me to run out of resources after 8,000 files and I have to reboot.
I need a DLL solution which will be faster, more control and no memory leak that way. Also less overhead.
We are Dyslexic of Borg, prepare to have your ass laminated!