topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
harbour_for_mod_harbour error compiler | to build the .hrb file do: harbour -gh -n testhrb.prg
Please review mod_harbour/samples/plugin.prg and testhrb.prg (and .hrb) |
harbour_for_mod_harbour error compiler | Hi Antonio,
for do this test i need to obtain harbour.exe to build hrb file.
Where i find it ?
I've download all the sources for harbour_for_modharbour and recompile all
but I have the error i sent you .
Can you tell me where i can obtain harbour.exe with the last improvement ?
Thanks
Giuliano |
harbour_for_mod_harbour error compiler | Giuliano
<!-- m --><a class="postlink" href="https://github.com/harbour/core">https://github.com/harbour/core</a><!-- m --> |
harbour_for_mod_harbour error compiler | Thanks Carles,
I think we must use a particular release of harbour .
So i made a test with the official harbour release and i generate my first hrb files.
All is ok.
Now i've another problem . Some commands are giving error in compiling procedure
like DEFAULT values and TRY CATCH ...
Thanks to all
Giuliano |
harbour_for_mod_harbour error compiler | Hi to all,
here my example ( and errors ) :
[code=fw:3g7dw68d]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> TEST<span style="color: #000000;">(</span>cstring<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">local</spa... |
harbour_for_mod_harbour error compiler | Amigo,
La linea 4 debe estar como sigue:
DEFAULT cString := ""
Saludos |
harbour_for_mod_harbour error compiler | Also
[code=fw:1i0xzwwr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> hb_default<span style="color: #000000;">(</span> @cString, <span style="color: #ff0000;">""</span> <span style="color: #000000;">)</span><br /> </div>[/code:1i0xzwwr] |
harbour_for_mod_harbour error compiler | Thanks cnavarro,
hb_default(.....) works perfectly.
Have you any solution for TRY CATCH ?
Bye
Giuliano |
harbour_for_mod_harbour error compiler | Giuliano,
TRY ... CATCH is already supported in mod_harbour
Please run ? hb_BuildDate() and let me know what you get |
harbour_for_mod_harbour error compiler | Antonio,
i use harbour_msvc64_20190508.zip download
from a link you have posted in this forum.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=16&t=37140&hilit=msvc64">viewtopic.php?f=16&t=37140&hilit=msvc64</a><!-- l -->
Thanks
Giuliano |
harbour_for_mod_harbour error compiler | #xcommand TRY => BEGIN SEQUENCE WITH {| oErr | Break( oErr ) }
#xcommand CATCH [<!oErr!>] => RECOVER [USING <oErr>] <-oErr->
#xcommand FINALLY => ALWAYS
simply add these lines at the top of your PRGs, that you are going to turn into HRB files |
harbour_for_mod_harbour error compiler | Perfect.
It works.
Thanks for your support
Giuliano |
harbour_for_modharbour | Dear Antonio, what is the difference between: FiveTechSoft/harbour_for_modharbour and
FiveTechSoft/mod_harbour.
Best regards
Otto |
harbour_for_modharbour | Andreu Botella's right answer:
[quote:3cjv3zfy]The mod_harbour repo contains the code for the apache module proper, as well as builds and samples.
harbour_for_modharbour is a fork of the normal harbour/core repo adding build tools to build a version of libharbour that's specific to mod_harbour, including the compiler... |
harbour_for_modharbour+crear libreria hbgd | Hola amigos
Como puedo crear la libreria hbgd, ya que necesito probar los ejemplos que tiene de // EAN128 |
harbour_for_modharbour+crear libreria hbgd | Adolfredo,
Harbour_for_modharbour ya no hace falta. Se usó en el desarrollo de mod_harbour pero ya no se usa.
Para construir hbgd situate en la carpeta hbgd
cd c:\harbour\contrib\hbgd\
y haz:
hbmk2 hbgd |
harbour_for_modharbour+crear libreria hbgd | ok
Lo que busco es crear el codigo de barra Ean-128.
Gracia antonio. |
hardware maintenance tonight | This email is notification of hardware maintenance tonight,14 August,
2014, between 10:00 pm and 2:00am MDT (UTC/GMT-6), for the server
which hosts fivetechsupport.com.
The maintenance will include approximately 30 minutes of downtime
during this time. None of your data will be lost, and any temporary
performance issu... |
harupdf tamaño del papel | buenas tardes compañeros estamos tratando de generar un ticket de un POS
no sabemos como poner el papel ( tamano ) tenemos solo estas posibilidades
usamos harupdf
/* HPDF_PageSizes */
#define HPDF_PAGE_SIZE_LETTER 0
#define HPDF_PAGE_SIZE_LEGAL 1
#define HPDF_PAGE_SIZE_A3 ... |
harupdf tamaño del papel | No tiens un ejemplo mas completo para probas?
Saludos. |
harupdf tamaño del papel | [code=fw:20j3a8dp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> InvoiceMask<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> j<br /> <span style="co... |
harupdf tamaño del papel | <!-- m --><a class="postlink" href="https://ibb.co/K24JWjd">https://ibb.co/K24JWjd</a><!-- m --> |
harupdf tamaño del papel | Con esto es suficiente para definir el tamaño de la hoja sin importar la impresora:
HPDF_Page_SetWidth(page,819)
HPDF_Page_SetHeight(page,143) |
harupdf tamaño del papel | Manual:
[url:z37i24oe]http://libharu.sourceforge.net/page_handling.html[/url:z37i24oe]
Regards, saludos. |
harupdf tamaño del papel | buenos días
muchas gracias por su ayuda
efectivamente ya pude poner el tamaño del papel, al abrir el pdf se ve perfecto, PERO al momento de imprimir por razones que desconozco se ESCALA la impresión y se ve mal, lo tuve que abandonar por imposible , tuve que usar las funciones de impresión de windows con la clase win... |
hash | I must converte a xjson test into hash but i make error
[code=fw:1fshgp2c]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00D7D7;">#include</span><span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> test<span style="color: #000000;">... |
hash | Did you try
hb_jsonDecode( <jsonString>, @var, [<codePage>] ) -> length of decoded <jsonString>, var will contain the resulting Harbour value |
hash | Add
[code=fw:2kwjhyln]<div class="fw" id="{CB}" style="font-family: monospace;">cStr := <span style="color: #000000;">(</span>StrTran<span style="color: #000000;">(</span> cStr, <span style="color: #ff0000;">'true'</span>, <span style="color: #ff0000;">'.t.'</span> <span style="color: #000000;">)</sp... |
hash | Enrico yes I saw but I have another error on hash
I try to save some data info from hash and sometimes make error because there may not be that informations I wish
and make error
[code=fw:1230i33g]<div class="fw" id="{CB}" style="font-family: monospace;"> Error occurred <span style="color: #00C800;">at</span>: <spa... |
hash | FOUND
IF HHasKey( HaDATA, "lAST_NAME" ) |
hash for storing variables | Hello friends,
static h := {=>}
h['mycParts'] := {"date=1900-11-21", "time=16:00"}
// Correct loop syntax for iterating over the array in the hash
FOR EACH cTmp IN h['mycParts']
? cTmp
NEXT
But when I try to use
h["cTmp"] := ""
FOR EACH h["cTmp"]IN h['mycParts']
? h["cTmp"]
NEXT
I get a syntax error.... |
hash for storing variables | It does not make sense to me. What do you want to get? |
hash for storing variables | Enrico, I use a patcher and preprocessor for my programming.
<!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42693&p=260562&hilit=hash&sid=fef71b12cde0ab87a1d9048f22a2ff63#p260562">viewtopic.php?f=3&t=42693&p=260562&hilit=hash&sid=fef71b12cde0ab87a1d9048f22a2ff63#p26056... |
hash for storing variables | What is the point of using h["cTmp"] as the FOR EACH variable? |
hash for storing variables | Hello Enrico,
for e.g. my code looks like this.
All the moduls are this way independent.
Best regads,
Otto
[img:3jqj1w23]https://mybergland.com/fwforum/hab1.jpg[/img:3jqj1w23]
[img:3jqj1w23]https://mybergland.com/fwforum/tischplanner.jpg[/img:3jqj1w23] |
hash for storing variables | I do not understand, sorry. Anyway, it still does not make sense. |
hash for storing variables | Enrico, the advantage is that you have reusable blocks here and don't have to worry about passing the variables.
It's simply the productivity that is the advantage.
It's a method to make the source code more readable and secure.
Best regards,
Otto |
hash for storing variables | Hello friends,
Here is an example of a test program.
All these blocks are reusable in all my programs.
Best regards,
Otto
[img:1dpdfa57]https://mybergland.com/fwforum/tbldruck.jpg[/img:1dpdfa57]
[img:1dpdfa57]https://mybergland.com/fwforum/tbldrucktc.jpg[/img:1dpdfa57]
[img:1dpdfa57]https... |
hash with (x)harbour - knowledge base | To all,
I would like to start a knowledge base about the use of hash with (x)harbour.
If someone has additional information please post it here. Thanks in advance.
----------------------------------------------
From a post of Mr. Rao:
In general Hash is a number derived from a large data value ( mostly character stri... |
hash with (x)harbour - knowledge base | Hash tables - What are they good for?
[url:2qtamktk]http://www.knowlexbase.com/en/software/downloads/yukon/HashTable.html[/url:2qtamktk] |
hash with (x)harbour - knowledge base | Hello Otto
I use Hash for manage the database
Function Scatter()
Local aVars := {=>}
LOcal nField := FCount()
LOcal nX := 1
FOR nX := 1 TO nField
aVars[FIELDNAME(nX)] := FieldGet(nX)
NEXT
Return aVars
Function Gather(aVars)
lOCAL Nx := 1
FOR Nx := 1 TO LEN(aVars)
Fiel... |
hash with (x)harbour - knowledge base | MAurizio,
I don't see where you are using a hash?
Did you know that the equivalent of scatter and gather is built into database objects. And instead of refering to aVars[1], you can refer to oCust:name. This makes the code much easier to write and read. There are lots of other good reasons to use database objects. Se... |
hash with (x)harbour - knowledge base | James ,
With hash you cann use the name of the fields to [code=fw:3vo2wiu1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oCust := Scatter<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br />?<span style="color: #000000;">(</span> oCust:<span style... |
hash with (x)harbour - knowledge base | Maurizio,
I don't understand this syntax. Please explain.
Local aVars := {=>}
What is {=>} ?
Does that preprosses into something else?
James |
hash with (x)harbour - knowledge base | [quote="James Bott":11gznbff]Maurizio,
I don't understand this syntax. Please explain.
Local aVars := {=>}
What is {=>} ?
Does that preprosses into something else?
James[/quote:11gznbff]
No, it is the regular syntax required to initialize an empty hash (ie. similar to aVars := {} for arrays).
EMG |
hash with (x)harbour - knowledge base | [quote="James Bott":1w492h8a]Does the (x)Harbour hash function automatically handle collisions?[/quote:1w492h8a]
No, as far as I know. It is the programmer responsibility to assure the uniqueness of the key.
[quote="James Bott":1w492h8a]I don't think I would want to risk using a hash table without knowing the answer ... |
hash with (x)harbour - knowledge base | Enrico,
[quote:3hlw4e8n]No, it is the regular syntax required to initialize an empty hash (ie. similar to aVars := {} for arrays).[/quote:3hlw4e8n]
So aVars := {=>} is an array of hashes?
And can you also explain this syntax?
aVars[FIELDNAME(nX)] := FieldGet(nX)
I am guessing that it is creating a hash for the fie... |
hash with (x)harbour - knowledge base | [quote="James Bott":1zxcrrxh]So aVars := {=>} is an array of hashes?[/quote:1zxcrrxh]
No, it is a single hash, that is essentially an array indexed by strings instead of numeric values.
[quote="James Bott":1zxcrrxh]And can you also explain this syntax?
aVars[FIELDNAME(nX)] := FieldGet(nX)
I am guessing that it is c... |
hash with (x)harbour - knowledge base | Ok, I have done some research and reading on hash tables and I found this in Wikipedia:
[i:220vmzxx]Ideally, the hash function should map each possible key to a unique slot index, but this ideal is rarely achievable in practice (unless the hash keys are fixed; i.e. new entries are never added to the table after creati... |
hash with (x)harbour - knowledge base | Enrico,
[quote:2zvubahv]If the key is a fieldname there is no problem as the fieldname is already unique.[/quote:2zvubahv]
The Wikipedia article states otherwise. They show two different names mapping to the same hash "bucket." See under the "Collision Resolution" section the example that "James Smith" and "Sandra De... |
hash with (x)harbour - knowledge base | I don't know the internals of the [x]Harbour's hash implementation but I know for sure that two different keys have no collision (or the collision is internal managed).
EMG |
hash with (x)harbour - knowledge base | Both Harbour and xHarbour, same as Clipper did, use internal hashes to match the function to call when a message is sent to an object.
Basically they calculate a unique number from a string. The original algorithm that we used was developed by the Standford University (as far as I remember it). Just as a curiosity <!-... |
hash with (x)harbour - knowledge base | Well, it all sounds good, but I am hesitant to use hashes for any critical application since a collision could be disasterous. For an accounting app it could cost millions, for a medical app it could be fatal. Perhaps I will try to devise a test for a large number of items to see about collisions. Is there a size limit... |
hash with (x)harbour - knowledge base | A Good example from using hashes is when tabels or dbf's must be totalisized.
See code
[code=fw:1vi81hix]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//# define NOHASH</span><br /><span style="color: #00C800;">FUNCTION</span> MAIN<br /><span style="color: #00C800;">LOCA... |
hash with (x)harbour - knowledge base | Hi all;
I use hashes a lot. Never had a problem.
The sample Maurizzio shows is a good one. In essence, with his scatter you can refer to an array entry using syntax like : ?aVar[ LASTNAME ] to show what's in the buffer for oCust:LASTNAME. Clearly using the aforementioned syntax is much better than ?aVar[ 32 ] ... |
hash with (x)harbour - knowledge base | How to create a 2-dimensional associative array? For example let's consider something similar to a spreadsheet where the columns are A to E, the rows are 1 to 6 [equivalent to array(5,6) matrix]
The few questions that I have are:
i. How to initialize it? [I mean its array(5,6) equivalent]
ii. Would this be the correc... |
hash with (x)harbour - knowledge base | [quote="hua":1lnkcoov]How to create a 2-dimensional associative array? For example let's consider something similar to a spreadsheet where the columns are A to E, the rows are 1 to 6 [equivalent to array(5,6) matrix]
The few questions that I have are:
i. How to initialize it? [I mean its array(5,6) equivalent]
ii. Wo... |
hash with (x)harbour - knowledge base | Thank you for clearing up the picture a bit more Frank <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
hash with (x)harbour - knowledge base | Does xHarbour support hash functions?
Both Harbour and xHarbour support all these functions but with slightly different names.
hbcompat.ch provides cross translations.
[code=fw:7872flmi]<div class="fw" id="{CB}" style="font-family: monospace;"> #ifdef __XHARBOUR__<br /> <span style="color: #B900B9;">/* Hash ... |
hasp4 bajo harbour | Hola:
¿Es posible usar las mochilas Hasp4 de Aladdin bajo Harbour?. ¿Cómo?. Muchas gracias.
Salu2,
Eduardo |
hasp4 under harbour | Hi,
I would like to know if it´s possible to use hasp4 dongles under harbour?. Thank you.
Regards,
Eduardo |
hasp4 under harbour | We developed a full API for xHarbour for the Sentinel SuperPro dongles.
This api wraps all the functions availalbe for the Surper Pro into a single easy to use function library.
You can ask your Sentinel provider to give you the full Api (.C, .PRG is available) |
hay forma de arreglar upper(""descripción"" ) == &qu | Estimados,
[code:fyw8ac21]local cTexto:= "descripción" // fijarse que es la o acentuada
if upper( cTexto ) = "DESCRIPCIÓN" // o acentuada pero en mayusculas
? "paso sin problemas"
else
? "no paso"
endif[/code:fyw8ac21]
Este fragmento de codigo jamas es verdadero ya que al hacer upper de una palab... |
hay forma de arreglar upper(""descripción"" ) == &qu | [quote="goosfancito":7c9im3i4]Estimados,
[code:7c9im3i4]local cTexto:= "descripción" // fijarse que es la o acentuada
if upper( cTexto ) = "DESCRIPCIÓN" // o acentuada pero en mayusculas
? "paso sin problemas"
else
? "no paso"
endif[/code:7c9im3i4]
Este fragmento de codigo jamas es verdadero ya q... |
hay forma de arreglar upper(""descripción"" ) == &qu | AnsiUpper( ) funciona bien con caracteres acentuados (pero com xHarbour.com me da un error de GPF)
Salu2 de Brasil
Maurilio |
hay forma de arreglar upper(""descripción"" ) == &qu | Goos, yo utilizo este comando de preprocesador de mi cocehca y me va bien:
#TRANSLATE TRANSNOM( <cVar> ) => UPPER( STRTRAN( STRTRAN( STRTRAN( ;
STRTRAN( STRTRAN( STRTRAN( STRTRAN( ;
STRTRAN( STRTRAN( STRTRAN( STRTRAN( ;
ALLTRIM( <cVar> ),"Ú","U"), ;
"Ó","O"), ;
"Í","I"), ;
... |
hbIde | Buenas noches/Good night,
una nueva versión/ a new version
[url:ayjvj0sw]http://sourceforge.net/projects/qtcontribs/postdownload?source=dlp[/url:ayjvj0sw]
Saludos/Regards |
hb_CDPSELECT() crash ? | hi
i found another Mystery in DualGrid
in CONFIG.INI i use
[quote:k8whf4pe][COUNTRY]
LangCode=DE
Codepage=DEWIN
[/quote:k8whf4pe]
which are used for
[code=fw:k8whf4pe]<div class="fw" id="{CB}" style="font-family: monospace;"> hb_LangSelect<span style="color: #000000;">(</span> cLangCode <span style="color: #00... |
hb_CDPSELECT() crash ? | the first parameter of this function is a string.
string conversions depend on codepage.
invalid codepage may create problems at any point. |
hb_CDPSELECT() crash ? | Dear Jimmy,
What code do you have here ?
Called from TGRID:CLEARANDFILLDIR(1133) in .\TGRID.PRG |
hb_CDPSELECT() crash ? | [code=fw:3ckzd1z6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />REQUEST HB_CODEPAGE_HU852<br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><s... |
hb_CDPSELECT() crash ? | hi Antonio,
it happens in my DUALGRID App where i try to use FWstring()
the Error "seems" when use DIRECTORY() and try to find Icon of File
as i say it crash with hb_out.LOG so i don´t know "where" it crash
---
i have use Codepage only for DBF which i can change "on-fly"
when use FWstring() i can change Language-ID... |
hb_CDPSELECT() crash ? | [quote:1clos18w]p.s. i have send Source of DUALGRID to Mr.Rao to show DELETED "Problem"
it should also show hb_cdpSelect() "Problem"
[/quote:1clos18w]
I did not receive.
Please send to
nageswaragunupudi[at]gmail[dot]com |
hb_CDPSELECT() crash ? | [quote:32en8vo7]p.s. i have send Source of DUALGRID to Mr.Rao to show DELETED "Problem"
it should also show hb_cdpSelect() "Problem"
[/quote:32en8vo7]
I did not receive.
Please send to
nageswaragunupudi[at]gmail[dot]com |
hb_CDPSELECT() crash ? | Can you copy and paste here the name of the file you got the problem? |
hb_CDPSELECT() crash ? | hi,
[quote="nageswaragunupudi":fepv9rye]Can you copy and paste here the name of the file you got the problem?[/quote:fepv9rye]
did you receive DG_RAO.ZIP <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
Files are "read" with DIRECTORY() so i can´t specify which File... |
hb_GetEnv( ""PRGPATH"" ) | Hola.
Si eso pongo en mi primera linea del MAIN deberia de devolverme que?
porque en mi caso no devuelve nada. |
hb_GetEnv( ""PRGPATH"" ) | Gustavo,
Esa llamada es sólo para mod_harbour (web), te pido disculpas por no haberlo quitado
Para una aplicación desktop con FWH solo tienes que proporcionar el path y nombre del fichero completo a subir al FTP |
hb_GetEnv( ""PRGPATH"" ) | Gracias |
hb_HrbRun() | Hi,
This question is for Harbour expert . But usually I'm directing to Fwh forum , because Harbour mailing list forum is terrible ... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> . So, I'll thankfull for your help ... I'm using succesfully this harbour scripts techniqu... |
hb_HrbRun() | Rimantas,
Try this (before oRun := nil):
HB_HRBUNLOAD( oRun )
oRun = nil |
hb_UnZipFile con Harbour | Amigos:
Un ejemplo de hb_UnZipFile con Harbour?, por favor!
[code=fw:1gbuwyab]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">IF</span> ! hb_UnZipFile<span style="color: #000000;">(</span> cPathFile,,<span style="color: #000000;">(</span>.F.<span style="colo... |
hb_UnZipFile con Harbour | Hola Armando,
No sé si has mirado esto: <!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=6&t=43427&hilit=unzipfile">viewtopic.php?f=6&t=43427&hilit=unzipfile</a><!-- l -->
El mismo código me funciona también con harbour. |
hb_UnZipFile con Harbour | Mi estimado
[code=fw:3jvfa016]<div class="fw" id="{CB}" style="font-family: monospace;"><br />*cFile archivo zip <br />*cPass password si lo tiene el zip<br />cFTem := GetEnv<span style="color: #000000;">(</span><span style="color: #ff0000;">"TMP"</span><span style="color: #000000;">)</span> + <span... |
hb_UnZipFile con Harbour | Amigos:
Manuel ya había visto tu post, de ahi tome el ejemplo
Willi, gracias por tu código
Gracias a ambos por sus respuestas las he mirado pero tal vez tengo ceguera de taller
pues no logro el objetivo, pongo mi código que no me funciona por si encuentran mi error.
[code=fw:xcjsf4z9]<div class="fw" id="{CB}" style="... |
hb_UnZipFile con Harbour | Estimado Armando,
Prueba con:
Directory(cDirGlb + "\*.Xml" ) |
hb_UnZipFile con Harbour | Master Antonio:
Gracias por tu respuesta
? cDirGlb <==== C:\AppXmls\092023\
Como ves, ya incluye la última diagonal inversa.
Saludos |
hb_UnZipFile con Harbour | Armando, muestre:
[code=fw:3b9mvzs5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> cDirGlb<br /> </div>[/code:3b9mvzs5]
ó la FUNCTION completa, porfa.
[url:3b9mvzs5]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=33637&start=0[/url:3b9mvzs5]
PBACKUP para HARBOUR:
[url:3b9... |
hb_UnZipFile con Harbour | Amigos:
Encontré el problema, el código es correcto, el problema radica en que los ficheros
a extraer están en una carpeta y la carpeta dentro del ZIP y el código espera que los
ficheros formen el ZIP, espero haberme explicado.
FICHERO.ZIP
|
|-----> 092023 <===== esta es la carpeta (NO SIEMP... |
hb_UnZipFile con Harbour | Armando, mira se ayuda:
[code=fw:312xgoct]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\UNZIP2.PRG simples teste. <!-- e --><a href="mailto:kapiabafwh@gmail.com">kapiabafwh@gmail.com</a><!-- e --></span><br /><br /><span style="color: #00D7D7;">#inclu... |
hb_UnZipFile con Harbour | Estimado Armando,
Esto te da las subcarpetas:
aFilInDir := Directory( cDirGlb + "*.*", "D" )
? Len( aFilInDir ) // dinos que cantidad te aparece aqui
Ahora usa el segundo nombre, que debe ser la carpeta, como path:
aFilInDir := Directory( cDirGlb + aFilInDir[ 2 ] + "\", *.... |
hb_UnZipFile con Harbour | Master Antonio:
Hecho, muchas gracias.
Saludos |
hb_UnZipFile() date/time question | Hello,
I'm using hb_UnZipFile() to unzip files.
Now I just notice that if extract files, that the date and time of those files are the time from extraction, and not the original from the zip-file.
Is this because I'm using an old version of xHarbour, or is it still the same in the new release? |
hb_UnZipFile() date/time question | Marc,
works fine here (keeps original date/time) using latest xHarbour from SVN.
EMG |
hb_VmDo | Estoy compilando una aplicacion y me marca este erro al ejecutar alguien le ha pasado, uso xharbour 99.66 y fwh27.
gracias.
fernando sandoval ruiz |
hb_VmDo | Fernando,
Que error es ? Puedes indicar el error completo ? gracias |
hb_ZipFile tiene un limite en cuanto al tamaño? | Hola Foro,
Originalmente usaba hb_ZipFile para respaldar solo archivos DBF y FPT, ahora respaldo en el mismo archivo también archivos de fotografías y videos sin ningún problema pero tengo un cliente que tiene muchas fotos y video y crea un archivo ZIP de mas de 4GB y es ahí cuando
hb_ZipFile(NomZip,ArchAR1,9,{|cFile... |
hb_ZipFile tiene un limite en cuanto al tamaño? | Hola,
Los 4Gb, probablemente, son un límite del S.O., que no permite crear archivos mayores a ese tamaño.
Para ese S.O. habría que crear varios archivos por compresión, si es que tiene esa caracteristica hb_zipfile()
Una pregunta, el hb_zipfile, ¿ comprime bien los archivos compartidos, es decir, abiertos en el mome... |
hb_ZipFile tiene un limite en cuanto al tamaño? | Gracias hmpaquito, tu razonamiento suena lógico y por lo mismo lo tomaré como válido.
No se si puede comprimir bien archivos abiertos ya que mi sistema cierra todos los archivos antes de hacer el respaldo y no he hecho la prueba sin hacer eso.
Salu2 |
hb_ZipFile tiene un limite en cuanto al tamaño? | Si el disco donde estas guardando el archivo es una particion fat, o fat32 tendras ese problema.
(de echo la mayoria de las usb o discos externos inicialmente viene usa ese tipo de particion)
para evitarlo, debes usar ntfs (para caso de hd externos) y/o fat_extended. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.