In unmanaged C++ and Win32, first open the serial port with CreateFile, then
call SetupComm.
In C++/CLI, instantiate a System::IO:orts::SerialPort object and set the
ReadBufferSize and/or WriteBufferSize properties.
Note that in either case, Windows and/or the serial port driver is free to
decide on the appropriate buffer sizes. Your settings are treated as
recommendations, not mandates.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.