title: Write an array to Serialport visual c++
body: <p>I am writing a program to communicate via RS232 from the PC to a microchip.</p>
  
  <p>I am use to C#, but I started using Visual C++.</p>
  
  <p>I get the following error:</p>
  
  <p>IntelliSense: no instance of overloaded function <strong>"System::IO::Ports::SerialPort::Write"</strong> matches the argument list argument types are: (RTC_Visual::uint8 [27U], int,RTC_Visual::uint8)</p>
  
  <p>I wrote the command to write to the serial port as follows:</p>
  
  <pre><code>serialPort1-&gt;Write(TxStruct.u8_Buffer, 0, TxStruct.Message.u8_Length);
  </code></pre>
  
  <p>please can someone tell me what am I doing wrong and or what is the correct structure for the <code>serialport-&gt;write</code> method.</p>
  
  <p>thanks in advance</p>