forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Transport boolean on VB-6 to Ftn95.dll

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
john62



Joined: 20 Feb 2007
Posts: 10

PostPosted: Thu Oct 08, 2009 10:00 pm    Post subject: Transport boolean on VB-6 to Ftn95.dll Reply with quote

The subject say it all.
have anybody try to transport on VB-6 a boolean value to a FTN95 as a Logical ??
How do you do it ??
greatings john
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Fri Oct 09, 2009 8:55 am    Post subject: Reply with quote

The simplest solution may be to convert it to a 32 bit integer (0 or 1) and send it in this form.

I think that FTN95 stores a default LOGICAL TRUE as a 32 bit (-1) but I would have to check this. If not then it will be (+1).
Back to top
View user's profile Send private message AIM Address
Robert



Joined: 29 Nov 2006
Posts: 445
Location: Manchester

PostPosted: Fri Oct 09, 2009 9:53 am    Post subject: Reply with quote

I think VB has 'True' as -1 (all bits on).
Back to top
View user's profile Send private message Visit poster's website
john62



Joined: 20 Feb 2007
Posts: 10

PostPosted: Mon Oct 12, 2009 2:23 pm    Post subject: Reply with quote

OK paul
it's works via this sidestap
On VB-6 the " logical " gived 1 or 0 and send it to FTN95 as a integer
On FTN95 recieved it like a logical
and all works fine now
thanks you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group