Hi,
          I want to use the inp command of C++, in windows.
          If I create a source file such as :

#include <stdio.h>
#include <conio.h>

int main(void)
{
  unsigned result;
  unsigned port = 768;
  result = inpw(port);
  printf("Word read from port %d = 0x%X\n", port, result);
  return 0;
}

How do I go about adding inpw to vtcl. I know you have to use the load command etc.

  Exactly what do I do ?

Anthony.

 

Reply via email to