Search found 27 matches: unrar

Searched query: unrar

by Baxajaun
Thu Sep 03, 2020 9:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create hb_unrar lib for MinGW
Replies: 2
Views: 482

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 ...
by Baxajaun
Thu Sep 03, 2020 9:08 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 1047

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 ...
by Baxajaun
Wed Sep 02, 2020 7:23 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 1047

Re: Generar hb_unrar lib para MinGW

... php?f=6&t=39325[/url], 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 5:35 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar unrar.lib y hb_unrar.lib con Borland
Replies: 2
Views: 403

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

&nbsp; &nbsp; /*&nbsp; &nbsp; &nbsp;* Fivewin UnRar Demo&nbsp; &nbsp; &nbsp;* Author: P.Chornyj <myorg63@mail.ru>&nbsp; &nbsp; */&nbsp; &nbsp; #include "Fivewin.ch"&nbsp; &nbsp; #include "common.ch"&nbsp ...
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: 403

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

-hbimplib

unrar.dll


unrar.hbp

Code: Select all | Expand

-hblib

hb_unrar.c
unrar.prg
unrar.a

unrarimp.hbp
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: 403

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&#58;//www&#46;winrar&#46;es/descargas/32/descargar-unrar-dll-para-windows-en-ingles .

He usado los siguientes fuentes de P ...
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: 1047

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 9:23 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 1047

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 Baxajaun
Mon Aug 31, 2020 9:28 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 1047

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&#40;hb_unrar.o&#41;:hb_unrar.c:&#40 ...
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: 1047

Re: Generar hb_unrar lib para MinGW

go.bat

Code: Select all | Expand

set path=c:\gcc81\bin\
c:\harbour\bin\hbmk2 unrar.hbp


unrar.hbp

Code: Select all | Expand

-hblib

hb_unrar.c
unrar.prg
by Baxajaun
Sat Aug 29, 2020 6:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Create hb_unrar lib for MinGW
Replies: 2
Views: 482

Create hb_unrar lib for MinGW

Good afternoon !

I've downloaded last version of unrar.dll from http&#58;//www&#46;winrar&#46;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 Harbour library hbunrar.lib.:OPT&nbsp; call ...
by Baxajaun
Sat Aug 29, 2020 6:19 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Generar hb_unrar lib para MinGW
Replies: 6
Views: 1047

Generar hb_unrar lib para MinGW

Buenas tardes,

he descargado la última versión de unrar.dll desde http&#58;//www&#46;winrar&#46;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 makelib.bat

@echo offrem Builds Harbour library ...
by cnavarro
Wed Dec 14, 2016 12:38 am
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1040
Views: 985425

Re: Mejoras para scintilla

... with |# and end with #|
Samples:

// Test Open File from URL |# openfile. https://bitbucket.org/fivetech/fivewin-contributions/downloads/demo_unrar.prg#| and others

// Test Open File |# open. D:\Fwh\Fwhteam\samples\testure.prg#| from path

// Test Open File |# opentoclip. https://bitbucket.org ...
by Baxajaun
Mon Aug 08, 2016 11:29 am
Forum: Utilities / Utilidades
Topic: Ficheros rar desde Harbour/Rar files from Harbour
Replies: 11
Views: 5849

Re: Ficheros rar desde Harbour/Rar files from Harbour

Hola hmpaquito,

está en el propio fichero Unrar.rar.

Saludos