Search found 61 matches: numtohex

Return to advanced search

AYUDA Validacion LRC para datafono

... cText, n, 1 ) ) ) next return (nCheckSum) // valores esperados vs obtenidos con metodo fivewin LRC() // valor esperado ... valor obtenido alerta( NumToHex( LRC("07"))) // 24 .. 7 alerta( NumToHex( LRC("01501T050178174001102") ) ) //5A .. OK alerta( NumToHex( LRC("03000000001000T050133337817418507328348732099999999999999912345678901100"))) ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 483

Error Sample c:\fwh\samples\dlgfind.prg

hi, i try to use Sample but it crash ... :( Error description: Error BASE/3012 Argument error: NUMTOHEX Args: [ 1] = U [ 2] = N 6 Stack Calls =========== Called from: => NUMTOHEX( 0 ) Called from: .\source\function\VALBLANK.PRG => FW_CLRTOHTML( 318 ) Called from: ...
by Jimmy
Tue Mar 28, 2023 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error Sample c:\fwh\samples\dlgfind.prg
Replies: 3
Views: 279

Re: Possible bug in some coordinates conversion

... following error: But I will install FWH 2022/6 on a clean PC and then test again. Best regards, Otto Stack Calls =========== Called from: => NUMTOHEX( 0 ) Called from: .\source\function\VALBLANK.PRG => FW_CLRTOHTML( 318 ) Called from: .\source\function\WEBAPP.PRG => CHECKBOXHTML( 389 ...
by Otto
Wed Jun 22, 2022 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible bug in some coordinates conversion
Replies: 5
Views: 460

Re: New Class TWebView in next FWH build

Yes, it is properly working, in example: oWebView:Eval( 'document.body.style.backgroundColor = "#' + NumToHex( hb_Random( 0xFFFFFF ) ) + '"' ) How to get result? ex: oWebView:Eval("return (1+2);") Basically this is the used technique: oWebView:Bind( "SendToFWH", ...
by Antonio Linares
Sat Jun 04, 2022 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class TWebView in next FWH build
Replies: 23
Views: 2194

Re: New Class TWebView in next FWH build

Antonio Linares wrote:Yes, it is properly working, in example:

oWebView:Eval( 'document.body.style.backgroundColor = "#' + NumToHex( hb_Random( 0xFFFFFF ) ) + '"' )


How to get result?
ex: oWebView:Eval("return (1+2);")
by ssbbs
Sat Jun 04, 2022 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class TWebView in next FWH build
Replies: 23
Views: 2194

Re: New Class TWebView in next FWH build

Antonio Linares wrote:Yes, it is properly working, in example:

oWebView:Eval( 'document.body.style.backgroundColor = "#' + NumToHex( hb_Random( 0xFFFFFF ) ) + '"' )


waiting!.....
by Horizon
Sat Jun 04, 2022 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class TWebView in next FWH build
Replies: 23
Views: 2194

Re: New Class TWebView in next FWH build

Yes, it is properly working, in example:

oWebView:Eval( 'document.body.style.backgroundColor = "#' + NumToHex( hb_Random( 0xFFFFFF ) ) + '"' )
by Antonio Linares
Sat Jun 04, 2022 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class TWebView in next FWH build
Replies: 23
Views: 2194

Re: De xHarbour a Harbour

... external '_HB_FUN_GDIPLUSHBITMAPTOCLIPBOARD' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|XBROWSE Error: Unresolved external '_HB_FUN_NUMTOHEX' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|XBROWSE Error: Unresolved external '_HB_FUN_HEXTOSTR' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|XBROWSE ...
by JoseAlvarez
Mon Oct 04, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De xHarbour a Harbour
Replies: 35
Views: 3261

Re: Colors

Christiano, ? hb_NumToHex( 6736896 ) => 0x 66 CC 00 (hexadecimal) ? hb_NumToHex( hb_bitAnd( 6736896, 0x FF 0000 ) / 0xFF00 ) ? hb_NumToHex( hb_bitAnd( 6736896, 0x00 FF 00 ) / 0x00FF ) ? hb_NumToHex( hb_bitAnd( 6736896, 0x0000 FF ) ) I must disagree, the correct formulas are: ? hb_NumToHex( hb_bi...
by AntoninoP
Mon Jun 21, 2021 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colors (SOLVED)
Replies: 10
Views: 1377

Re: Colors

Christiano, ? hb_NumToHex( 6736896 ) => 0x 66 CC 00 (hexadecimal) ? hb_NumToHex( hb_bitAnd( 6736896, 0x FF 0000 ) / 0xFF00 ) ? hb_NumToHex( hb_bitAnd( 6736896, 0x00 FF 00 ) / 0x00FF ) ? hb_NumToHex( hb_bitAnd( 6736896, 0x0000 FF ) ) In FWH\include\colors.ch there is a: #translate RGB( <nRed>...
by Antonio Linares
Mon Jun 14, 2021 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colors (SOLVED)
Replies: 10
Views: 1377

Re: nserialhd() vs serialnumber

Yes now I see. :D

It's NUMTOHEX( NSERIALHD() ) that give the same result as the VOL command.

So NSERIALHD() is not the real serial-number. After re-formating it, it will be different then.

There are also utilities to change it :cry:
by Marc Vanzegbroeck
Thu Mar 11, 2021 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nserialhd() vs serialnumber
Replies: 8
Views: 948

Re: nuevo en el fw Harbour

1) copie el two.prg que esta dentro del gccmake.prg a la carpeta bormake porque no lo trae (y en el test.mak hace referecia a two.c y two.obj), cambie las rutas e incluso las rutas dentro de los archivos CFG de borland. y al compilar con go.bat (que tambien cambie la ruta del make) me tira este erro...
by goosfancito
Wed Feb 03, 2021 1:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: nuevo en el fw Harbour
Replies: 5
Views: 635

Re: Conversión de C++ a Clipper/FW

Eloy,

? hb_NumToHex( 100729898 )

? hb_HexToNum( "601042A" )
by Antonio Linares
Wed Nov 11, 2020 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conversión de C++ a Clipper/FW
Replies: 1
Views: 265

Re: Create PDF in Mod_Harbour.

I pasted this code into my program and run. The ? hb_NumToHex( HPDF_SaveToFile( hPdf, "c:\temp\Hello.pdf" ) ) returns 0, there is a Temp directory on my c: drive but no file is created. I am using IIS version of Mod_Harbour.

Thanks,
by byron.hopp
Mon Mar 02, 2020 5:24 pm
 
Forum: mod_harbour
Topic: Create PDF in Mod_Harbour.
Replies: 5
Views: 804

Re: Compilando con Harbour 3.2, Bcc7 y Hbmk2

Armando estás intentando linkar las librerias de Fivewin para el compilador MinGw en lugar de utilizar las de Borland Es cierto. Estaba apuntando a las librerias para Mingw de Fwh, a pesar que todas las variables de entorno apuntaban a Harbour y Bcc7. Ya corregí; pero el arreglo ha resultado peor q...
by Armando Picon
Sun Jan 26, 2020 12:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilando con Harbour 3.2, Bcc7 y Hbmk2
Replies: 13
Views: 3225
Next

Return to advanced search