Use RS-232 with PB 9.0 Pro

Use RS-232 with PB 9.0 Pro

Post by Paol » Fri, 25 Feb 2005 19:59:21

Good Day all NG.

I have a problem that I don't succeed to resolve. How I can use RS-232 with
PB 9.0 professional?
I don't find functions or libraries for the access to the port.

Many thanks, bye bye

Use RS-232 with PB 9.0 Pro

Post by Jim Dougla » Fri, 25 Feb 2005 20:37:43

If PB does not have it I'm sure there are tons of objects that will support
the RS-232 requirement that PB can access. Years ago I need to write some
code with lat/long and distance and found a vb object that was perfect.



Use RS-232 with PB 9.0 Pro

Post by Frank » Sat, 26 Feb 2005 01:31:40

You might want to look at declaring and using the external functions
CreateFile/ReadFile/etc. from the win32 API:

The CreateFile function creates or opens the following objects and
returns a handle that can be used to access the object: files pipes
mailslots *COMMUNICATIONS RESOURCES* disk devices (Windows NT
only) consoles directories (open only)

Look at the API List on

good luck.