Coder's Guild Mailing List

Visual Basic Ports and IO

Posted by Benjamin Johnston on 1999-09-03

> Hello to all...
> Can some one help me on VB programing. I am learning to program in  VB, i
> already know C++,Pascal,Asm,Qbasic.
> But in VB i dont know how to send information to a   I/O port (com1), is
> there a command like the outp( ) in C++ to send and
> recibe info?
If you already know c++ and pascal, it seems pointless learning VB (since
the language can be pretty restrictive) unless you need it for
"prototyping"...
 
Why don't you go straight to Delphi (or visual C++).

About the com port, Visual Basic doesn't have much low level support.. if
you want to access com ports (or memory addresses, or anything else) you
will have to get an ocx, (or vbx) or write your own dll (in c++, or
delphi), which you can then call from visual basic.

A web search should turn up heaps of links explaining how to mix vb and
C++ dlls.
 
Benjamin Johnston
s355171@xxxxxxx.xx.xxx.xx