Page 2 of 2

PostPosted: Wed Nov 09, 2005 1:46 pm
by Maurizio
Hello Antonio

Thanks to your great help ,now works very well .

It is possible to set hIn to ?

Regards MAurizio
www.nipeservice.com

PostPosted: Wed Nov 09, 2005 4:44 pm
by Antonio Linares
Maurizio,

Try this:

#define GENERIC_READ 0x80000000
#define OPEN_EXISTING 3
#define FILE_ATTRIBUTE_NORMAL 0x00000080

...

local hIn := CreateFile( "COM8:",; // change the number as needed
GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )

Now it works

PostPosted: Thu Nov 10, 2005 9:49 pm
by josevalle
Thanks Antonio, now it works.

When I started the aplication I was afraid of using a new product on an aplication with a so sort time limit. But now everything is ok

PostPosted: Fri Nov 11, 2005 12:38 am
by Antonio Linares
Jose,

We are glad to know we are moving forward :)

Thanks to all of you for your feedback and support,