| Author |
Use RS-232 with PB 9.0 Pro
|
|
|
| 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
| |
| Jim Douglas 2005-02-24, 8:59 am |
| 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.
"Paolo" <a@a.it> wrote in message
news:_riTd.784$tY2.342@news.edisontel.com...
> 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
>
>
| |
| Frank A 2005-02-24, 4:01 pm |
| Paolo wrote:
> 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
>
>
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 http://www.mentalis.org/apilist/CreateFile.shtml
good luck.
|
|
|
|