topic
stringlengths
1
63
text
stringlengths
1
577k
hb_crypt and hb_decrypt problem
Hey everybody! I'm encrypting some data on my application with a random salt and I found out a problem like this: [code=fw:6f9aqc5n]<div class="fw" id="{CB}" style="font-family: monospace;">hb_crypt<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@Selva123"</span>,<span style="color: #ff0000;"...
hb_curl (Ejemplos).-
Saludos Desde Venezuela; Quisiera saber si alguien tiene ejemplos de uso de hb_curl con FWH. Gracias de antemano.
hb_curl (Ejemplos).-
Hola amigo, CURL es bastante amplia. En mi caso la usé para subir un fichero a la Agencia Tributaria Española para validar una liquidación trimestral de IVA. Si el resultado es correcto, te devuelve un pdf con el borrador de la liquidación, si es incorrecto debes buscar la lista de errores. Deben pasarse varios paráme...
hb_curl (Ejemplos).-
Gracias Carlos Por el ejemplo y la explicacion.
hb_curl (Ejemplos).-
Carlos, Por favor, ¿podrías indicarme dónde conseguir información para generar el modelo 303 via internet?. Si pudieras poner el ejemplo completo sería de mucha utilidad. Mil gracias.
hb_gcCollect() hb_gcCollectAll() equivalencia para xHarbour
Tengo inconveniente que ejecuto tres metodos de una misma clase, al ejecutar la tercera es como si se quedara pegado el ultimo resultado y tengo que salir del programa y solo ejecuto la tercera y obtengo el resultado correcto, estuve revisando la manera de liberar memoria o limpiar y encontre estas dos ultimas para Har...
hb_hbrun
Hola. ¿Se puede llamar a una función de un script con parámetros? He comprobado que cuando compilas al vuelo un prg y luego lo ejecutas con hb_hbrun, se ejecuta la primera función del prg. No sé si se puede ejecutar otra función del prg y si se pueden pasar parámetros. Un saludo
hb_hbrun
Si, asi: hb_hrbRun( cFuncion, xParam1, xParam2,...)
hb_hbrun
Que bien, voy a probarlo. Gracias
hb_hrbRun and some functions inside ...
Hi , Antonio , how to run in the same script some functions ? This is possible ? I did through script mdi child window with xbrowse and buttonbar . Buttonbar's buttons direct to function navigate_keys( VK_F5 ) ( as a sample ) . The same is in mdi child description - oWnd:bKeyDown := { | nKey, nFlags | navigate_key( ...
hb_hrbRun and some functions inside ...
Rimantas, [quote:3w02b66u]function navigate_keys( VK_F5 )[/quote:3w02b66u] There is a typo in the name (missing "s"), check it [quote:3w02b66u]oWnd:bKeyDown := { | nKey, nFlags | navigate_key( nKey ) } [/quote:3w02b66u]
hb_hrbRun and some functions inside ...
[quote="Antonio Linares":3eghunmj]Rimantas, [quote:3eghunmj]function navigate_keys( VK_F5 )[/quote:3eghunmj] There is a typo in the name (missing "s"), check it [quote:3eghunmj]oWnd:bKeyDown := { | nKey, nFlags | navigate_key( nKey ) } [/quote:3eghunmj][/quote:3eghunmj] No , Antonio , in mine source the function ...
hb_hrbRun and some functions inside ...
Rimantas, Using FWH\samples\scripts.prg, this example works fine: [code=fw:wu96gpfc]<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:...
hb_hrbRun and some functions inside ...
[quote="Antonio Linares":3ail21h1]Rimantas, Using FWH\samples\scripts.prg, this example works fine: [code=fw:3ail21h1]<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;">funct...
hb_hrbRun and some functions inside ...
Rimantas, As soon as you call hb_hrbunload( nHrb_hdl ) then you "unload" the scripts functions. You have to call hb_hrbunload( nHrb_hdl ) once you are done with those functions and you will no longer use those functions again.
hb_hrbRun and some functions inside ...
[quote="Antonio Linares":2ioq7lwz]Rimantas, As soon as you call hb_hrbunload( nHrb_hdl ) then you "unload" the scripts functions. You have to call hb_hrbunload( nHrb_hdl ) once you are done with those functions and you will no longer use those functions again.[/quote:2ioq7lwz] The problem is that , I commented all "...
hb_hrbRun and some functions inside ...
Rimantas, Please provide me a small script example to reproduce it here, thanks
hb_hrbRun and some functions inside ...
[quote="Antonio Linares":264vxdb7]Rimantas, Please provide me a small script example to reproduce it here, thanks[/quote:264vxdb7] Of course , that I must did alreday .... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Excuse . [code=fw:264vxdb7]<div class="fw" id="{CB}" ...
hb_hrbRun and some functions inside ...
Antonio , It seems that something I found ... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Maybe it's not clear , but working . I created 2 vars in the main prg : nMain_hrb and aHrb empty array . Now in excute section I added that : [code=fw:1j9j7f75]<div class="fw" id="...
hb_hrbRun and some functions inside ...
Rimantas, It seems as a fine way to manage several loaded scripts <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_hrbRun scripts ...
Hi, Here is a small sample for the problem ... [code=fw:2dhxzs5r]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"InKey.ch"</s...
hb_hrbRun scripts ...
[quote="Rimantas":3cdqdse4]Hi, Here is a small sample for the problem ... [/quote:3cdqdse4] It seems that with hb_hrbrun there aren't working mans ... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
hb_hrbRun scripts ...
Rimantas, You can't use a private variable here: private cAls := oApp:GetNewAlias( "SALES" ) because a MDICHILD window is non modal so the execution continues after activating the window and the private variable gets destroyed. Use a local variable instead of a private, and it should work fine <!-- s:-) --><img src...
hb_hrbRun scripts ...
[quote="Antonio Linares":23n8ir8i]Rimantas, You can't use a private variable here: private cAls := oApp:GetNewAlias( "SALES" ) because a MDICHILD window is non modal so the execution continues after activating the window and the private variable gets destroyed. Use a local variable instead of a private, and it shou...
hb_inline() not working in xharbour from fivewin
I have installed fwh705 and xharbour provided by fivewin (99.71). After upgrading, the hb_inline() is giving compliation error. ( used to work earlier with xharbour 99.70 binaries downloaded from xharbour.org). We can try compiling inline_c.prg in the samples folder. error E0020 : Incomplete statement or unbalanced ...
hb_inline() not working in xharbour from fivewin
Try the following sample: [code:1qg18pmm]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL n &#58;= 5 ? n HB_INLINE&#40; @n &#41;; &#123; int n = hb_parni&#40; 1 &#41; ; n++; hb_storni&#40; n, 1 &#41;; &#125; ? n RETURN NIL[/code:1qg18pmm] EMG
hb_inline() not working in xharbour from fivewin
Thanks. This is working now. The difference is semicolon is _now_ required between hb_inline( .. ) and the following curly braces ( { ) Earlier it used to work without this semicolon. Thank you very much Mr. Enrico.
hb_inline() not working in xharbour from fivewin
Sorry. I understand now. The syntax is hb_inline ( ... ) { or hb_inline( .. ) ; (semicolon is for continuation of { on the next line. { this solved the issue.
hb_jsonDecode() this Website
hi, i try to use hb_jsonDecode() for "this" Website but i got NIL ... --- my old working Way [code=fw:312ctjlw]<div class="fw" id="{CB}" style="font-family: monospace;">   cUrl := <span style="color: #ff0000;">"https://forums.fivetechsupport.com/viewtopic.php?t=42918"</span><br />   oHttp:<span style="color: #000000...
hb_jsonDecode() this Website
hb_jsondecode( cJson, @hHash ) works only if the first parameter is a vaid json text. If valid, second param by ref is filled with Hash. In this case. the responsetext() is NOT json text.
hb_jsonDecode() this Website
hi, thx for Answer. [quote="nageswaragunupudi":1bo9xw8j]hb_jsondecode( cJson, @hHash ) works only if the first parameter is a vaid json text. If valid, second param by ref is filled with Hash. In this case. the responsetext() is NOT json text.[/quote:1bo9xw8j] ok understand so hb_jsondecode() is not a Solution for p...
hb_out.. exe crashed...
I still have this error maybe caused by this line: [code=fw:g2stbkx3]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   <br />   @ nRow<span style="color: #000000;">-0.2</span>,  <span style="color: #000000;">320</span> <span style="color: #0000ff;">BTNBMP</span> oBtnGetExchange ;<br />              <s...
hb_out.. exe crashed...
Whenever possible, post the complete example. Mira se ayuda: [code=fw:ny0je93q]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\GERMANO.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span>...
hb_out.. exe crashed...
SORRY IT IS NOT THE SAME and it make error when the user click on X of the dialog
hb_out.. exe crashed...
And why, until you find out where you went wrong, don't you turn off the "X" in the Dialog Box? ¿Y por qué, hasta que descubras dónde te equivocaste, no apagas la "X" en el cuadro de diálogo? Regards.
hb_out.. exe crashed...
[quote="karinha":16ipczgo]And why, until you find out where you went wrong, don't you turn off the "X" in the Dialog Box? ¿Y por qué, hasta que descubras dónde te equivocaste, no apagas la "X" en el cuadro de diálogo? Regards.[/quote:16ipczgo] porque no me equivoco, el problema esta en la clase btnbmp cuando se usa ...
hb_out.. exe crashed...
Prueba ahora y comentas: Download completo: [url:3pocmcgq]https&#58;//mega&#46;nz/file/UQ10xLiD#NJJ7OANMd4G554DopHiIKAqszoGtDYVxtDiZrjA8ZX8[/url:3pocmcgq] Regards, saludos.
hb_out.. exe crashed...
[quote="karinha":6f32fln7]Prueba ahora y comentas: Download completo: [url:6f32fln7]https&#58;//mega&#46;nz/file/UQ10xLiD#NJJ7OANMd4G554DopHiIKAqszoGtDYVxtDiZrjA8ZX8[/url:6f32fln7] Regards, saludos.[/quote:6f32fln7] Yes of course with BMP file run ok The problem Is another , of you ready good the next time perhaps...
hb_out.. exe crashed...
There was this bug when GDIP clause is used for BTNBMP. This bug is fixed in the recent version. For now please use this fix. Please replace the function PalBmpFree() in \source\classes\bitmap.prg with this new function. [code=fw:3gb9fu6g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0...
hb_out.. exe crashed...
[quote="nageswaragunupudi":tjbeaj4x]There was this bug when GDIP clause is used for BTNBMP. This bug is fixed in the recent version. For now please use this fix. Please replace the function PalBmpFree() in \source\classes\bitmap.prg with this new function. [code=fw:tjbeaj4x]<div class="fw" id="{CB}" style="font-family...
hb_out.. exe crashed...
Funciona perfecto con imágenes .PNGs, transformé el ARCHIVO.RC en ARCHIVO.RES y resultó excelente. It works perfect with .PNGs Images, I transformed the FILE.RC into FILE.RES and it turned out excellent. [url:3k0ct9oc]https&#58;//imgur&#46;com/sQtTjcs[/url:3k0ct9oc] [img:3k0ct9oc]https&#58;//i&#46;imgur&#46;com/sQtT...
hb_out.. exe crashed...
Download completo: [url:1smthrxs]https&#58;//mega&#46;nz/file/FFUkALaY#3Gh784MKqRlX2XwwErnupSEdv4EYVcSVwi-ZVWKuArU[/url:1smthrxs] Regards, saludos.
hb_parcx( -1 ) como funciona?
Amigos, [code:1lutmbvm] hb_vmPushSymbol&#40; hb_dynsymGet&#40; "LEECONFIGURACION"&#41; -> pSymbol &#41;; hb_vmPushNil&#40; &#41;; hb_vmPushString&#40; comando, strlen&#40; comando &#41; &#41;; hb_vmPushLogical&#40; FALSE &#41;; hb_vmFunction&#40; 2 &#41;; respuesta = hb_parcx&#40; -1...
hb_parcx( -1 ) como funciona?
Creo que esto esta mal: hb_parcx( -1 ), sirve para recoger valores de harbour en C. Para enviar valores de C a Harbour, usa: hb_retc( -1 )
hb_parcx( -1 ) como funciona?
Rafa, Gustavo está intentando recuperar el valor devuelto desde el PRG por lo que la llamada a hb_par...( -1 ) es correcta. -1 significa que se acceda al valor de retorno. Gustavo: Tu problema es un problema de uso de cadenas en C. Si la cadena empieza con cero, entonces tienes que recuperar a partir del siguiente by...
hb_parcx( -1 ) como funciona?
Estimado, Entonces quiere decir que yo deberia luego agregarle el chr( 0 ) al inicio para que la cadena este bien? Porque entiendo que me devuelve la cadena "pero" el el primer chr( 0 ) es asi? Gracias.
hb_parcx( -1 ) como funciona?
Gustavo, En C, tradicionalmente, las cadenas se usan como un grupo de bytes terminados en un cero. De ahí que no debas ponerle un cero al principio, si deseas hacer otras operaciones como cadena. Usa la cadena desde el siguiente byte, como te he indicado, y luego ten en cuenta que tienes un cero delante.
hb_parcx( -1 ) como funciona?
[quote="Antonio Linares":35wwxpeo]Rafa, Gustavo está intentando recuperar el valor devuelto desde el PRG por lo que la llamada a hb_par...( -1 ) es correcta. -1 significa que se acceda al valor de retorno. Gustavo: Tu problema es un problema de uso de cadenas en C. Si la cadena empieza con cero, entonces tienes que r...
hb_parni() no acepta dos parametros en FWH 64
Hola Fivetechsoft , En el ejemplo de mas abajo la funcion hb_parni(1,1) genera error al usarse en FWH 64. En FWH funciona correctamente. [code=fw:1mwstrwh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//---------------------------------------------------------------------------...
hb_parni() no acepta dos parametros en FWH 64
George, Tienes que usar hb_parvni() en vez de hb_parni(): nElement = hb_parvni( 1, 1 );
hb_parni() no acepta dos parametros en FWH 64
Gracias Antonio. Funciona perfecto. George
hb_parni() no acepta dos parametros en FWH 64
Antonio, que diferencia hay entre las dos funciones ? Saludos
hb_parnl e valori decimali
Salve a tutti, devo tradurre questa chiamata ad una dll in codice xharbour DIB_IsBlank BOOL DIB_IsBlank(HDIB hdib, double dDarkness) SI tratta di una funzione per sapere se una pagina scansionata ha una certa percentuale di nero e mi serve quindi per sapere se la pagina acquisita è bianca o nera. La funzione mi resti...
hb_parnl e valori decimali
Prova con: [code=fw:2gny0ms6]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span>TW_ISBLANK<span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span> hb_retl<span style="color: #000000;">&#40;</...
hb_parnl e valori decimali
Funziona. Grazie per il rapido supporto.
hb_retn
Necesito devolver desde una función en C un valor double pero estoy usando la funcion hb_retnl(nDiferencia); y el compilador me arroja un warning por posible pérdida de datos en la conversión. ¿Cual es la función [b:n3gmpixj]hb_ret[/b:n3gmpixj]... de harbour para devolver un valor double de C, en 64 y en 32 bits? ¿D...
hb_retn
hb_retnd <!-- m --><a class="postlink" href="http://www.marinas-gui.org/projects/harbour_manual/hb_retnd.htm">http://www.marinas-gui.org/projects/har ... _retnd.htm</a><!-- m -->
hb_retn
Gracias. Ha funcionado.
hb_retni.. y las otras como son?
Estimados: No tengo Guias norton o de donde averiguar, podrían decirme cuales son las funciones (creo que son funciones) que se utilizan para que una funcion desde C devuelva un valor: Como ser: hb_retni hb_ret... necesito saber como hago para decirle que NO DEVOLVERA NADA: algo asi como RETURN nil Gracias.
hb_retni.. y las otras como son?
<!-- m --><a class="postlink" href="http://www.clipx.net/ng/cltech/ng242.php">http://www.clipx.net/ng/cltech/ng242.php</a><!-- m -->
hb_retni.. y las otras como son?
Gustavo, Prueba a simplemente hacer un return; Saludos, José Luis Capel <!-- w --><a class="postlink" href="http://www.capelblog.com">www.capelblog.com</a><!-- w -->
hb_retni.. y las otras como son?
Jose Luis, La forma correcta es hb_ret() Aunque en realidad lo único que hace es limpiar el valor de retorno que haya de una función anterior. Realmente no es necesario llamarlo, aunque sería lo correcto.
hb_retni.. y las otras como son?
Antonio, Tienes razón... como casi siempre <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Pero como quería no devolver nada... pues un simple return ya hace ese trabajo. Pero como bien dices, lo correcto es un hb_ret(); Saludos, José Luis Capel <!-- w --><a cl...
hb_retni.. y las otras como son?
hb_ret(); Gracias José [quote="jlcapel"]Gustavo, Prueba a simplemente hacer un return; Saludos, José Luis Capel <!-- w --><a class="postlink" href="http://www.capelblog.com">www.capelblog.com</a><!-- w -->[/quote]
hb_sendmail
Hi All I have just converted to Harbour from xHarbour ( with some great help from Antonio ) and I am looking for the source for hb_sendmail() or where the contrib section of Harbour can be found. Cheers Colin
hb_sendmail
Look <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=23644&p=149649&hilit=hb+sendmail#p127055">viewtopic.php?f=6&t=23644&p=149649&hilit=hb+sendmail#p127055</a><!-- l -->
hb_stack. Error
Ola, Fiz o download da versão de Janeiro no FTDN. Depois de construir as libs que utilizo (TSBUTTON, BARLIB, xVGET) tentei recompilar meu projeto e deu o erro abaixo: xLINK: error: Unresolved external symbol '_hb_stack'. xLINK: fatal error: 1 unresolved external(s). Utilizo o FWH + xHarbour.com xHarbour Compiler ...
hb_stack. Error
Estás usando alguna librería de terceros ? Todas las librerías con módulos en C, tienen que ser recompiladas también.
hb_stack. Error
Recompilei todas as libs de terceiros. Trabalho com a TSBUTTON, BARLIB e VGET (do Vagner Wirts), mesmo assim o erro continua!
hb_stack. Error
Todos los ficheros en C de librerías de terceros tienen que ser recompilados debido a los cambios recientes en Harbour/xHarbour.
hb_strToUTF8 en xHarbour con BUG
Amigos del foro: Tengo problemas con la funcion hb_strToUTF8() en xHarbour . Los carateres [b:iw7m3slv]á,é,í,ó,ú [/b:iw7m3slv] los transforma corrrectamente . EL caratere [b:iw7m3slv]É[/b:iw7m3slv] lo transforma corrrectamente . Los carateres [b:iw7m3slv]Á,Í,Ó,Ú[/b:iw7m3slv] NO los transforma bien, los trans...
hb_strToUTF8 en xHarbour con BUG
Un .PRG de ejemplo? [url:3shsjope]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=37451&p=223889&hilit=hb_strToUTF8&sid=fe440a122ce21b8aa086346afb97527d&sid=768408bfc7a4ecc25c57925a72257a62#p223889[/url:3shsjope] Regards, saludos.
hb_strToUTF8 en xHarbour con BUG
karinha : Gracias por responder: El siguiente ejemplo crea un archivo TXT, el cual al verlo con TOTALCOMANDER (F3|OPCIONES|UTF8) muestra el problema mencionado [code=fw:17unnh2d]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> z<span style="color: #000000...
hb_strToUTF8 en xHarbour con BUG
mejorando el ejemplo: [code=fw:3w3vifow]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> z<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> cStr<br />   cStr :=<span style=...
hb_strToUTF8 en xHarbour con BUG
yo uso: . FWH 1606 + xHarbour 10194 agote todos mis recursos, use: HB_SetCodePage( ) FW_SetUnicode( ) .. y nada
hb_strToUTF8 en xHarbour con BUG
Intenta asi: [code=fw:2cyuc77e]<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 /><span style="color: #B900B9;">/* #translate SET CODEPAGE TO SPANISH &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; => &nbsp;REQUE...
hb_strToUTF8 en xHarbour con BUG
Karinha: Gracias por responder, pero no me funciona. Este codigo tengo que aplicarlo en la FACTURACION EN LINEA para Bolivia, donde tengo que enviar un archivo XML. Todo esta OK, salvo los acentos de mayusculas: Á,Í,Ó,Ú Aplique lo que me dijiste al codigo de ejemplo y no funciona. [code=fw:z3r3cpwt]<div class="fw"...
hb_strToUTF8 en xHarbour con BUG
+1
hb_strToUTF8 en xHarbour con BUG
Intenta asi: [code=fw:1x7nsu7z]<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 /><span style="color: #B900B9;">/* #translate SET CODEPAGE TO SPANISH &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; => &nbsp;REQU...
hb_strToUTF8 en xHarbour con BUG
Hola, Siempre comento que es muy importante comprobar en que codificas tu código. Si tenemos este simple codigo: [code=fw:2li0sd51]<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: #...
hb_strToUTF8 en xHarbour con BUG
Hello Carles, Thanks for your info. I have been looking for so long for a display where you can see the different codings. Thanks to your screenshot I have now found out that it is possible with The internal file lister (F3) of TotalComander The integrated file lister allows to view files of almost any size (now u...
hb_tonkenCount() cuenta bien ?
En Harbour : hb_tokenCount( "juan;pedro", ":" ) = 1 hb_tokenCount( "juan;pedro", ";" ) = 2 Sabe alguien si es correcto , es un bug o tengo que proporcionar mas parámetros a la función.
hb_tonkenCount() cuenta bien ?
Salvador... Los parametros estan bien... lo malo (al parecer) es el resultado expuse el problema en el foro de harbour (con la solucion incluida) a ver que nos dicen [url:ii0xe6i3]http&#58;//groups&#46;google&#46;com/group/harbour-devel/browse_thread/thread/a28e906147c292fa[/url:ii0xe6i3]
hb_tonkenCount() cuenta bien ?
Hola [quote="Salvador":cpm2a3ee]En Harbour : hb_tokenCount( "juan;pedro", ":" ) = 1 hb_tokenCount( "juan;pedro", ";" ) = 2 [/quote:cpm2a3ee] Pienso que es correcto, lo que hb_tokenCount hace es dar los token que hay en la expresion, segun el separador que proporcionas. Saludos Marcelo
hb_tonkenCount() cuenta bien ?
[quote="Marcelo Via Giglio":1p30smb9]Hola [quote="Salvador":1p30smb9]En Harbour : hb_tokenCount( "juan;pedro", ":" ) = 1 hb_tokenCount( "juan;pedro", ";" ) = 2 [/quote:1p30smb9] Pienso que es correcto, lo que hb_tokenCount hace es dar los token que hay en la expresion, segun el separador que proporcionas. Sal...
hb_tonkenCount() cuenta bien ?
hb_tokenCount( "juan;pedro;", ";" ) = 3 hb_tokenCount( "", ";" ) = 1 Creo que es confuso. <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
hb_tonkenCount() cuenta bien ?
Salvador, Afirmativamente, cuenta bien. hb_tokencount() --> [b:11y76flk]NO CUENTA[/b:11y76flk] el numero de apariciones de un separador en una cadena En el caso de una cadena vacia o una cadena que no contenga ninguna aparicion del separador el resultado siempre sera 1 [code=fw:11y76flk]<div class="fw" id="{CB}" s...
hb_unzipfile + FWH 8.04 = error GPF
Hi,After update to FWH 8.04 I do not success to unzip files. It always generates an error GPF!Help-me !!!!
hb_unzipfile + FWH 8.04 = error GPF
Try to move hbzip.lib before fivehc.lib in your link script.EMG
hb_unzipfile + FWH 8.04 = error GPF
Enrico,Thanks, it´s ok.
hb_unzipfile + FWH 8.04 = error GPF
By the way, I don't think it is a good thing. This problem is originated after the recent changes in zlib library and should be fixed for me.EMG
hb_unzipfile no me descomprime carpetas vacias.
por qué pasa eso? he probado comprimir con 7zip en formato zip una estructura de carpetas vacias y al descomprimir con hb_unzipfile no me descomprime nada. Como que el hb_unzipfile solo descomprime archivos. alguna solucion? gracias.
hb_urlencode
Dear Antonio, I have a question about hb_urlencode (). I can't find this function in Harbour. It is available in mod harbour. Shouldn't it be called HB_FUNC( AP_URLDECODE )? Is there also a urlencode function? Best regards, Otto
hb_urlencode
Dear Otto, Here it is: [url:1gbe7ocs]https&#58;//github&#46;com/harbour/core/blob/d407898675b14fbf9b10cd2e23723e9a522686e5/contrib/hbtip/encurlc&#46;c[/url:1gbe7ocs] We renamed TIP_URLDECODE() into HB_URLDECODE() in mod_harbour to remember its origin: [url:1gbe7ocs]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/...
hb_vmPushString...
Estimados, Antonio en un momento me contesto sobre el "llamado de funciones FWH desde codigo C", Necesito saber si existe algun ejemplo dando vuelta porque me interesó el tema y estoy necesitando mas informacion al respecto. Gracias.
hb_vmPushString...
Gustavo, Estos foros tienen una opción de búsqueda (search) muy potente. Prueba a buscar BEGINDUMP por ejemplo.
hb_xFree invalid pointer
Hi , Can anyone tell me why this error occures ? hb_xfree() Invalid Pointer 012879FC I can't provide a sample because the program is too big. If anyone has any idea please respond. Thanks A.S.K
hb_xFree invalid pointer
Are you using harbour or xharbour ? what build ?
hb_xFree invalid pointer
[quote="ask":jxikcyo2]Hi , Can anyone tell me why this error occures ? hb_xfree() Invalid Pointer 012879FC I can't provide a sample because the program is too big. If anyone has any idea please respond. Thanks A.S.K[/quote:jxikcyo2] This is a nasty error that can be provided by many reasons. Can you check that y...
hb_xFree invalid pointer
[quote="Antonio Linares":1g7oact5]Are you using harbour or xharbour ? what build ?[/quote:1g7oact5] I'm using xharbour 0.99.4 and fwh 2.5 october 2004 This error has something to do with [b:1g7oact5]release function[/b:1g7oact5]