code_junkie

Serial port communication in VC++

Nov 13th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. VARIANT data;
  2. BSTR k;
  3. if(m_mscom.GetCommEvent() == 2)
  4. {
  5. data = m_mscom.GetInput();
  6. k = data.bstrVal;
  7. }
Add Comment
Please, Sign In to add comment