Search found 18 matches: dectohex

Searched query: dectohex

by Antonio Linares
Sat Aug 03, 2013 6:31 am
Forum: FiveWin para Harbour/xHarbour
Topic: Scrolls en Icon Group ( SOLUCIONADO )
Replies: 12
Views: 8176

Re: Scrolls en Icon Group

Victor,

Prueba a ponerle este valor en el estilo del control:

0x50310000

Es equivalente a:

MsgInfo( DecToHex( nOr( WS_CHILD, WS_VISIBLE, WS_TABSTOP, WS_VSCROLL, WS_HSCROLL ) ) )
by Jorge Jaurena
Mon Dec 19, 2011 3:06 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con comunicacion TCP IP
Replies: 5
Views: 2989

Ayuda con comunicacion TCP IP

... local n, nResult := 0

for n = Len( cBin ) to 1 step -1
if SubStr( cBin, n, 1 ) == "1"
nResult += 2 ^ ( Len( cBin ) - n )
endif
next
return DecToHex( nResult )

Pruebo con un programa llamado Docklight Scripting y el hard responde correctamente, pero mi aplicacion no.
La gente que provee este ...
by Juan Gálvez
Wed Aug 25, 2010 8:10 am
Forum: FiveWin para Harbour/xHarbour
Topic: Error al usar cValToChar() con punteros
Replies: 1
Views: 382

Error al usar cValToChar() con punteros

... a continuación, la aplicación aborta anormalmente :

cValToChar( WIN_N2P( oWnd:hWnd ) )
El problema radica en la llamada a DecToHex() que realiza cValToChar() ante un puntero :

... case cType == "P" return "0x" + DecToHex( uVal )...
Yo lo he corregido así ...
by driessen
Wed Apr 07, 2010 8:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Urgent problem with FWH 10.3 !!!!
Replies: 3
Views: 1744

Urgent problem with FWH 10.3 !!!!

... error: Unresolved external symbol '_HB_FUN_ASEND referenced from Fivehmx.lib(MSGBAR.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_DECTOHEX referenced from Fivehmx.lib(VALBLANK.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_GETWNDFRAME referenced from Fivehmx.lib(MDICHILD.obj ...
by Antonio Linares
Wed Sep 23, 2009 9:05 pm
Forum: WhatsNew / Novedades
Topic: New FTDN September 2009 (9.09)
Replies: 1
Views: 3505

Re: New FTDN September 2009 (9.09)

... oOldSkinButton]

Puedes revisar su documentación en el wiki de FiveTech:

m
m

* Corrección: Pequeño error corregido en la función DecToHex( nDecValue ) --> cHex.

* Mejora: Se ha renombrado la función de FWH GetNew() como FWGetNew() para evitar conflictos con
la de Harbour GetNew ...
by Antonio Linares
Wed Sep 23, 2009 9:14 am
Forum: WhatsNew / Novedades
Topic: New FTDN September 2009 (9.09)
Replies: 1
Views: 3505

New FTDN September 2009 (9.09)

... oSkinButton] ) --> [oOldSkinButton]

You may review its documentation from the FiveTech wiki:
m
m

* Fix: Bug solved in function DecToHex( nDecValue ) --> cHex

* Enhancement: FWH function GetNew() renamed as FWGetNew() to avoid conflicts with Harbour
GetNew().

* Enhancement: FWH ...
by Antonio Linares
Tue Sep 08, 2009 11:00 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

JM,

Como te indica Daniel, ya está arreglada e incluida para el próximo build :-)
by Daniel Garcia-Gil
Tue Sep 08, 2009 9:50 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

Saludos jmGarcia

JmGarcia wrote:Antonio, no te olvides de corregir esta función en la próxima entrega


reparada e incluida para la proxima version
by JmGarcia
Tue Sep 08, 2009 9:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

Antonio, no te olvides de corregir esta función en la próxima entrega :mrgreen:
by JmGarcia
Mon Aug 31, 2009 6:35 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

Antonio, corregirás esta función en la próxima entrega ¿no?
by Marcelo Via Giglio
Fri Aug 28, 2009 1:14 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

Hola la solucion

function DecToHex( nValue )   local nMod, cDec := ""   while nValue >= 16      nMod   = nValue % 16      nValue = Int( nValue / 16)      cDec   = HexVal( nMod ) + cDec   end ...
by Marcelo Via Giglio
Fri Aug 28, 2009 1:11 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Re: Error en la funcion "DecToHex(n)"

Hola

dec hex
0 0
1 1
. .
9 9
10 A
11 B
12 C
13 D
14 E
15 F
16 10 NO G entonces tambien esta mal
by JmGarcia
Fri Aug 28, 2009 11:21 am
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la funcion "DecToHex(n)"
Replies: 6
Views: 906

Error en la funcion "DecToHex(n)"

Llevo loco varios días con un error en la función "DecToHex" de FWH. En todas las versiones.

DecToHex(16) devuelve "G" en vez de "F" :evil:
by Antonio Linares
Sat Feb 23, 2008 2:47 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funcion uuid()
Replies: 9
Views: 2222

Solo necesitas nRandom( [<nRango>] ) --> n
y DecToHex( n ) --> cHex.

Ambas estan en FWH y asi puedes construir tu función desde PRG
by Jeff Barnes
Fri Feb 22, 2008 7:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Generating a CRC
Replies: 11
Views: 2225

Hi Antonio,

I've tried with the DecToHex() but still end up with an 8 char Hex number instead of the needed 4 char hex number as in the example below:


Header <command> CRC

DIAP000<%REQUEST CORRUPT> 734D

DIAP000<%INVALID CRC CHAR> A471


I still have not had a reply from the manufacturer