FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour help #ifndef __HARBOUR__
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
help #ifndef __HARBOUR__
Posted: Mon Sep 25, 2006 09:49 PM
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:

local xCommand:= 0x65


Some idea?

Tank´s
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
help #ifndef __HARBOUR__
Posted: Mon Sep 25, 2006 10:30 PM

Gustavo,

"0x65" maybe ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
help #ifndef __HARBOUR__
Posted: Mon Sep 25, 2006 10:39 PM
Antonio Linares wrote:Gustavo,

"0x65" maybe ?


No, because next i need this:

      DO CASE
         CASE xComando = 0x65
            cRespuesta:= LeeConfiguracion()


And "0x65" is diferent to 0x65

Sorry.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
help #ifndef __HARBOUR__
Posted: Tue Sep 26, 2006 09:18 AM

Gustavo,

CASE xComando = 0x65

is equivalent to:

CASE xComando = 101

It must work the same way

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
help #ifndef __HARBOUR__
Posted: Tue Sep 26, 2006 12:03 PM
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.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/

Continue the discussion