I now is easier with MSCOMM but it seems that it sends some garbage sometimes, that why I'm trying to use "RAW stuff", I set the COM settings on the system properties, assuming it will take them as they are. What is the "WaitForSingleObject"? (I'm new on this)....
I'm trying to read from the COM1 port from a scanner, I do the test of the (createfile) but when I do the Readfile() I get nothing, can someone help?
This is the code :
clear
hPort =0
DECLARE INTEGER CreateFile IN kernel32;
STRING lpFileName, INTEGER dwAccess, INTEGER dwShareMode...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.