Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zaknwfp

    how to receive binary data on mscomm

    I have mscomm inputMode property set to 1 but all I receive is one no matter what I send to it. When I set the inputMode property to 0 and then read the input data as in_dat = m_comm.GetInput(); buffer[i] = (*in_dat.bstrVal); // buffer is integer array I get the right data but some bytes...
  2. zaknwfp

    status bar message help needed!

    In my project, I display a message "Running" in the main pane of the status bar instead of "Ready" when a button is clicked. But when I click on a menu item and then back in the main window, the text changes back to "Ready". Any idea how to prevent it from doing so? I use the following function...
  3. zaknwfp

    cannot include library files in my MFC application

    Hi, I for some reason cannot get any libraries to work in my visual c++ 6.0 MFC application. I included math library in different ways using <include.h>, "include.h", and copying the library to my project folder. But none of these methods seem to work. Whenever I use sqrt() function, it gives...
  4. zaknwfp

    receiving bytes instead of characters with MSComm

    Thanks a bunch mingis,its a big help.
  5. zaknwfp

    receiving bytes instead of characters with MSComm

    I have been trying to receive raw bytes on serial port using MScomm with visual C++6.0 but I don't know how to get the decimal or hex value from the function getInput(). I can get the string out of the function but then it becomes a character. For example if I receive 0x35, it becomes 5. Here...

Part and Inventory Search

Back
Top