help #ifndef __HARBOUR__

Post Reply
User avatar
goosfancito
Posts: 1392
Joined: Fri Oct 07, 2005 7:08 pm

help #ifndef __HARBOUR__

Post 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
Un aporte chico hace grandes cambios.
Apoyemos al proyecto "Hogar pimpinela"
Bajate la aplicación (gratuita) y encuentra en ella toda la info de como podes colaborar.
GRACIAS!
https://play.google.com/store/apps/deta ... .acomprar
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Gustavo,

"0x65" maybe ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
goosfancito
Posts: 1392
Joined: Fri Oct 07, 2005 7:08 pm

Post 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.
Un aporte chico hace grandes cambios.
Apoyemos al proyecto "Hogar pimpinela"
Bajate la aplicación (gratuita) y encuentra en ella toda la info de como podes colaborar.
GRACIAS!
https://play.google.com/store/apps/deta ... .acomprar
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Gustavo,

CASE xComando = 0x65

is equivalent to:

CASE xComando = 101

It must work the same way
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
goosfancito
Posts: 1392
Joined: Fri Oct 07, 2005 7:08 pm

Post 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.
Un aporte chico hace grandes cambios.
Apoyemos al proyecto "Hogar pimpinela"
Bajate la aplicación (gratuita) y encuentra en ella toda la info de como podes colaborar.
GRACIAS!
https://play.google.com/store/apps/deta ... .acomprar
Post Reply