Search found 27 matches: unrar

Return to advanced search

Re: Create hb_unrar lib for MinGW

Thanks to Grigory Filatov from Harbour developers Google groups. At last i've used MinGW gendef.exe tool to create UnRar.def gendef UnRar.dll UnRar.def file ;; Definition file of UnRAR.dll; Automatic generated by gendef; written by Kai Tietz 2008;LIBRARY "UnRAR.dll"EXPORTSRARCloseArchive@4RARGetDllVersionRAROpenArchive@4RAROpenArchiveEx@4RARProcessFile@16RARProcessFileW@16RARReadHeader@8RARReadHeaderEx@8RARSetCallback@12RARSetChangeVolProc@8RARSetPassword@8RARSetProcessDataProc@8 ...
by Baxajaun
Thu Sep 03, 2020 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create hb_unrar lib for MinGW
Replies: 2
Views: 414

Re: Generar hb_unrar lib para MinGW

... Pero finalmente he optado por usar la herramienta que viene actualmente con MinGW para generar ficheros def, esta utilidad es gendef.exe gendef UnRar.dll Generando el fichero UnRar.def ;; Definition file of UnRAR.dll; Automatic generated by gendef; written by Kai Tietz 2008;LIBRARY "UnRAR.dll"EXPORTSRARCloseArchive@4RARGetDllVersionRAROpenArchive@4RAROpenArchiveEx@4RARProcessFile@16RARProcessFileW@16RARReadHeader@8RARReadHeaderEx@8RARSetCallback@12RARSetChangeVolProc@8RARSetPassword@8RARSetProcessDataProc@8 ...
by Baxajaun
Thu Sep 03, 2020 9:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Generar hb_unrar lib para MinGW

... cambiando los caminos a dónde tengamos nuestro Harbour y MinGW. Lo curioso y extraño es que cuando hacemos -hbimplibunrar.dll la librería liburar.a generada será del mismo tamaño que la dll unrar.dll usada para generar la librería de importación. Eso seguramente, ...
by Baxajaun
Wed Sep 02, 2020 7:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Generar unrar.lib y hb_unrar.lib con Borland

Buenos días ! Por si alguien quiere probar la librería con Harbour y FWH. demo_unrar.prg     /*     * Fivewin UnRar Demo     * Author: P.Chornyj <myorg63@mail.ru>    */    #include "Fivewin.ch"    #include ...
by Baxajaun
Wed Sep 02, 2020 5:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar unrar.lib y hb_unrar.lib con Borland
Replies: 2
Views: 353

Re: Generar unrar.lib y hb_unrar.lib con Borland

Felix,

De esta forma anidamos dos ficheros hbp para que se construya el fichero de importación:

unrarimp.hbp
Code: Select all  Expand view
-hbimplib

unrar.dll


unrar.hbp
Code: Select all  Expand view
-hblib

hb_unrar.c
unrar.prg
unrar.a

unrarimp.hbp
by Antonio Linares
Wed Sep 02, 2020 5:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar unrar.lib y hb_unrar.lib con Borland
Replies: 2
Views: 353

Generar unrar.lib y hb_unrar.lib con Borland

Buenas noches ! En primer lugar dar las gracias públicamente a Antonio y a Cristobal por su ayuda y amistad. He descargado la última versión de UnRar.dll del sitio web http://www.winrar.es/descargas/32/descargar-unrar-dll-para-windows-en-ingles . He usado los siguientes fuentes de ...
by Baxajaun
Tue Sep 01, 2020 8:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar unrar.lib y hb_unrar.lib con Borland
Replies: 2
Views: 353

Re: Generar hb_unrar lib para MinGW

De esta forma podemos generar la librería de importación:

hbmk2 -hbimplib unrar.dll
by Antonio Linares
Tue Sep 01, 2020 10:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Generar hb_unrar lib para MinGW

Hay que añadir esta línea dentro del fichero unrar.hbp

-depimplibs=unrar.dll

Aún así, no llega a construir la librería de importación directamente

debe faltar algo...
by Antonio Linares
Tue Sep 01, 2020 9:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Generar hb_unrar lib para MinGW

Antonio, una vez añadidas unrar.a y hn_unrar.a y la dll al proyecto da el siguiente error: f:/develop/ccompilers/winlibs/102032/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: F:\Proyectos\TytoAlba\MINGW\New\libhb_unrar.a(hb_unrar.o):hb_unrar.c:(.text+0xf29): ...
by Baxajaun
Mon Aug 31, 2020 9:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Generar hb_unrar lib para MinGW

go.bat
Code: Select all  Expand view
set path=c:\gcc81\bin\
c:\harbour\bin\hbmk2 unrar.hbp


unrar.hbp
Code: Select all  Expand view
-hblib

hb_unrar.c
unrar.prg
by Antonio Linares
Mon Aug 31, 2020 8:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Create hb_unrar lib for MinGW

Good afternoon ! I've downloaded last version of unrar.dll from http://www.winrar.es/descargas/32/descargar-unrar-dll-para-windows-en-ingles . Long time ago, i built library for Borland compiler using this makelib.bat @echo offrem Builds ...
by Baxajaun
Sat Aug 29, 2020 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create hb_unrar lib for MinGW
Replies: 2
Views: 414

Generar hb_unrar lib para MinGW

Buenas tardes, he descargado la última versión de unrar.dll desde http://www.winrar.es/descargas/32/descargar-unrar-dll-para-windows-en-ingles . En su día pude crear la librería para el compilador de Borland mediante el siguiente fichero ...
by Baxajaun
Sat Aug 29, 2020 6:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 873

Re: Mejoras para scintilla

-------------------------------------------- NEW VERSION 14/12/2016 ------------------ https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedit53.zip New Template project for MingW New Template project for Harbour console Template project XHarour fixed Detect if document is open and mo...
by cnavarro
Wed Dec 14, 2016 12:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839137

Re: Ficheros rar desde Harbour/Rar files from Harbour

Hola hmpaquito,

está en el propio fichero Unrar.rar.

Saludos
by Baxajaun
Mon Aug 08, 2016 11:29 am
 
Forum: Utilities / Utilidades
Topic: Ficheros rar desde Harbour/Rar files from Harbour
Replies: 11
Views: 3889
Next

Return to advanced search