serial port

I used to be able to open a serial port using

com = CreateFile ("COM1", GENERIC_WRITE|GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL);

Now "COM1" is not accepted. How do I obtain a handle to COM1 using Visual Studio 2005



Answer this question

serial port

  • ICIPeep

    Did you get a new PC when you installed VS2005 Does it still have a serial port .NET 2.0 now fully supports serial ports; use the SerialPort class


  • serial port