help #ifndef __HARBOUR__

help #ifndef __HARBOUR__

Postby goosfancito » Mon Sep 25, 2006 9: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:

Code: Select all  Expand view
local xCommand:= 0x65


Some idea?

Tank´s
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Postby Antonio Linares » Mon Sep 25, 2006 10:30 pm

Gustavo,

"0x65" maybe ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby goosfancito » Mon Sep 25, 2006 10:39 pm

Antonio Linares wrote:Gustavo,

"0x65" maybe ?


No, because next i need this:

Code: Select all  Expand view
      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/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Postby Antonio Linares » Tue Sep 26, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby goosfancito » 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/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 110 guests