Page 1 of 1

help #ifndef __HARBOUR__

Posted: Mon Sep 25, 2006 9:49 pm
by goosfancito
Hi all,

I have one app in 32 bits; my application passes a value to another application that this done in "VB", it app in VB take one value in this format: 0x65 ( hexadecimal ) and it does not admit 101 ( the equivalent one to the value 0x65 ).

the problem is that when compiling the application in 16bits gives an error "error syntaxis" in this line:

Code: Select all

local xCommand:= 0x65
Some idea?

Tank´s

Posted: Mon Sep 25, 2006 10:30 pm
by Antonio Linares
Gustavo,

"0x65" maybe ?

Posted: Mon Sep 25, 2006 10:39 pm
by goosfancito
Antonio Linares wrote:Gustavo,

"0x65" maybe ?
No, because next i need this:

Code: Select all

      DO CASE
         CASE xComando = 0x65
            cRespuesta:= LeeConfiguracion()
And "0x65" is diferent to 0x65

Sorry.

Posted: Tue Sep 26, 2006 9:18 am
by Antonio Linares
Gustavo,

CASE xComando = 0x65

is equivalent to:

CASE xComando = 101

It must work the same way

Posted: Tue Sep 26, 2006 12:03 pm
by goosfancito
Antonio Linares wrote:Gustavo,

CASE xComando = 0x65

is equivalent to:

CASE xComando = 101

It must work the same way
Antonio,

I´m make one simulation of machine, this machine work with one app Visual Basic and only accept 0x65 and not 101, then need make one app that work with 0x65 and not with 101 or "0x65".

Sorry.