Search found 111 matches: cstr

Return to advanced search

Re: FWH or harbour function support CRC?

Antonio Linares wrote:? hb_CStr( hb_SHA256( hb_memoRead( "filename.zip" ), nil ) )


Dear Antonio,

It's not work.
by richard-service
Fri Jan 12, 2024 6:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH or harbour function support CRC? ( Solved )
Replies: 16
Views: 1727

Re: FWH or harbour function support CRC?

? hb_CStr( hb_SHA256( hb_memoRead( "filename.zip" ), nil ) )
by Antonio Linares
Thu Jan 11, 2024 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH or harbour function support CRC? ( Solved )
Replies: 16
Views: 1727

Re: Generar codigo QR con fivewin.

Saludos
Alberto,
https://github.com/AdaptaProERP/kernel_ ... qrform.prg

DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
RETURN NIL
by jnavas
Thu Jan 04, 2024 12:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar codigo QR con fivewin.
Replies: 9
Views: 1108

Re: Using Microsoft AI Phi-2 from FWH

Dear Jimmy, glad to know that you got it working using FWH :-) I think the different behavior with HMG is this: AI_FORM.oAnswer.Value += cStr with FWH we use Class TMultiGet METHOD Append( cStr )      METHOD Append( cText, nLen ) INLINE ;          ...
by Antonio Linares
Fri Dec 22, 2023 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8121

Re: Using Microsoft AI Phi-2 from FWH

... Please try this using 64 bits only: HMG_CallDLL( "llama64.dll", HB_DYN_CTYPE_VOID, "Llama", cModel, cPrompt, CallBack( { | cStr | AI_FORM.oAnswer.SetFocus(), AI_FORM.oAnswer.Value += cStr } ) ) and add this at the bottom: #pragma BEGINDUMP #include <hbapi.h>#include ...
by Antonio Linares
Thu Dec 21, 2023 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8121

Re: SHA256 CRC

Dear Philippe,

? hb_CStr( hb_SHA256( hb_memoRead( "filename.zip" ), nil ) )
by Antonio Linares
Fri Nov 03, 2023 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SHA256 CRC
Replies: 2
Views: 215

Re: New FTDN July/Julio (FWH 23.07)

... conjunta de cadenas que contienen caracteres con notación diferente en ANSI y UTF8 mostraba basura. Corregida. * Nueva funciones AnsiToUtf8( cStr ) y Utf8ToAnsi( cStr ). Útil en el caso de algunos caracteres de idiomas WU, como las diéresis alemanas, que se codifican de forma diferente en ...
by Antonio Linares
Sat Jul 29, 2023 9:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1060

New FTDN July/Julio (FWH 23.07)

... together strings containing characters with different notiation in ANSI and UTF8 was displaying garbage. Fixed. * new functions AnsiToUtf8( cStr ) and Utf8ToAnsi( cStr ) Useful in case of some WU language characters like German Umlauts who are encoded differently in ANSI and Utf8.
by Antonio Linares
Thu Jul 27, 2023 6:13 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1060

Help with complex JSON

... hJson ) local aData := {} local aRow, aCalls, hCall local d, n, i, j, aDt local ARRI, DEPA local cPol, cPolName, cDateTim, dEtd, cEtdTime, cStr aCalls := hJson[ "vessel" ] AADD( aData, { "IMO" , aCalls["vesselIMONumber"] } ) AADD( aData, { "VESSEL" ...
by cdmmaui
Tue Mar 21, 2023 1:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1203

DBF REDE/WEB WINDOWS 7/10/11

... (cSERVER + "RETIDO.DBF") NEW //SHARED SELECT 10 USE (cSERVER + "ARQMES.DBF") NEW //SHARED cCompetencia:="01/2021" cStr="Tempo Abertura de DBFs: " + Transf(ElapTime(cTime,TIME()),"@k 99:99:99") SWPanelRefresh( oPan, cStr ) inkey(1) SWPanelClose( ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9197

Re: COMO OBTENER HASH USANDO ALGORITMO SHA256

? hb_CStr( hb_SHA256( hb_memoRead( "arhivo.zip" ), nil ) )
by Antonio Linares
Wed Nov 30, 2022 8:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO OBTENER HASH USANDO ALGORITMO SHA256
Replies: 3
Views: 432

Re: COMO OBTENER HASH USANDO ALGORITMO SHA256

Harbour proporciona la función HB_SHA256( cText ) --> nHash

Ejemplo:
? hb_CStr( hb_SHA256( 'Probando CheckSum de este Texto', nil ) )
by Antonio Linares
Tue Nov 29, 2022 8:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO OBTENER HASH USANDO ALGORITMO SHA256
Replies: 3
Views: 432

Re: New FTDN November/Noviembre (FWH 21.11)

... Algunos pequeños cambios en samples\buildh64.bat. Ahora usamos x86_x64 en lugar de la versión previa x86_amd64. * Mejora: Función FW_ProperCase( cStr ) Las palabras con el prefijo "Mc" se reconocen por su uso apropiado en mayúsculas. * Nuevas funciones FW_TRIM,FW_RTRIM,FW_LTRIM,FW_ALLTRIM(cStr,[cTrimChars]) ...
by Antonio Linares
Tue Nov 30, 2021 10:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 21.11)
Replies: 2
Views: 996

New FTDN November/Noviembre (FWH 21.11)

... * Enhancement: Some minor changes in samples\buildh64.bat. Now we use x86_x64 instead of previous x86_amd64 * Enhancement: function FW_ProperCase( cStr ): Words with prefix "Mc" are recognized for appropriate capitalization. * New functions FW_TRIM,FW_RTRIM,FW_LTRIM,FW_ALLTRIM(cStr,[cTrimChars]) ...
by Antonio Linares
Tue Nov 30, 2021 7:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 21.11)
Replies: 2
Views: 996

Re: Codigo QR directamente en fichero .JPG o .PNG

... un BMP internamente, pero con extensión JPG Por cierto a modo de comentario, si en la llamada a la función DLL pongo DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL FROM "FastQRCode" Lib "QRCodelib.Dll" con Lib en mayuscula, da un error de función ...
by ArgConsulting
Mon Aug 16, 2021 6:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Codigo QR directamente en fichero .JPG o .PNG
Replies: 5
Views: 656
Next

Return to advanced search