Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/05 21:40
Read: times


 
#93505 - MSComm is limited
Responding to: ???'s previous message
Alberto Geraci said:
Dear Kunia:
you said:
I could'nd found any about programming RS232 (COM1/2)
under winXP.

Why under Win XP ?...any Windows version is the same ?

No, they're not the same. Things that worked well under Win9x/ME often do not work well under Windows NT/2000/XP/2003 due to notable differences in operating system design. That's not saying it isn't possible to write code that can be used on both, but attention to detail and testing would be required at a minimum.

You could try with some Visual Basic help..like MSDN Library for Visual Studio version 6.0 or above. You'll found exactly what you want there.
Search for MSCOMM controll.
Same for Visual C++ 6.0...you have examples at MSDN Library too.

As I recall, MSComm seems to impose some synthetic limitations which might be problematic for an embedded system designer (i.e., inability to manipulate DTR in an arbitary fashion, inability to access COM ports above 16, etc.) Also, I believe it is not included with newer versions of Visual Studio (although alternatives are available). All of this is not to say the MSComm control is unusable, but that careful evaluation is required to determine if it meets your requirements.

You could try this link too !!
http://www.codeguru.com/Cpp/COM-T...php/c7349/

Regards.
Alberto Geraci.

--Sasha Jevtic

List of 12 messages in thread
TopicAuthorDate
Programming RS232 under WinXP            01/01/70 00:00      
   C++ Delphi            01/01/70 00:00      
   Serial Class            01/01/70 00:00      
      Async pro            01/01/70 00:00      
   RS232 programming examples ?            01/01/70 00:00      
      MSComm is limited            01/01/70 00:00      
         Your MSCOMM Recollection is Wrong            01/01/70 00:00      
         re            01/01/70 00:00      
            Win32 API for serial comms            01/01/70 00:00      
   Win XP , thank's for the links            01/01/70 00:00      
      compatibility mode            01/01/70 00:00      
         Answer is wrong            01/01/70 00:00      

Back to Subject List