Silverfrost Forums

Welcome to our forums

Transport boolean on VB-6 to Ftn95.dll

8 Oct 2009 9:00 #5146

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

9 Oct 2009 7:55 #5149

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).

9 Oct 2009 8:53 #5150

I think VB has 'True' as -1 (all bits on).

12 Oct 2009 1:23 #5170

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

Please login to reply.