From: E L. <cr...@my...> - 2002-08-19 12:22:37
|
http://www.iftools.com/ This library is basically a wrapper for the serial port API (and some timer stuff) that can be used on both win32 and linux. It is intended for wxWindows, but it works fine with out it. On Sun, 2002-08-18 at 02:43, Luke Dunstan wrote: > If you can find C/C++ libraries for MSVC or Borland that are open source,= they should compile with Mingw without too much trouble (unless of course = they require MFC or something like that). You may already know that you can= usually use MSVC static libraries or DLLs with Mingw if they are written i= n C, but not C++. When looking for open source libraries, you should also s= earch for cross-platform libraries (e.g. on SourceForge). >=20 > If a suitable library is not available, the Win32 API would be the next o= ption. Using overlapped I/O is not too difficult if you need non-blocking s= erial I/O. I don't know about event-driven programming, but multithreading = is another option worth considering. >=20 > Luke Dunstan >=20 > ----- Original Message -----=20 > From: Guidance=20 > To: min...@li...=20 > Sent: Sunday, August 18, 2002 11:37 AM > Subject: [Mingw-users] serial port >=20 >=20 > Hi, since I decided to use Dev-C++ as my primary IDE, I feel I must joi= n this MingW-users mail list. Hello, everybody! >=20 > Is there a good solution in mingw that operate serial communication por= t? I searched out some C/C++ libraries, but they only mentioned VC++ / Borl= and C++ compiler, I think I must ask here for any experiences from mingw us= ers. >=20 > How do you access serial port? What library is your favorite? Or even p= ure win32 api? For non-blocking (event driven) programming, pure win32 api = must has many work to do. Am I right? >=20 > Thanks! >=20 > Leon Wang >=20 >=20 >=20 >=20 > Join Rapid-Q & B++ WebRing now! http://citymap.getmyip.com >=20 >=20 >=20 >=20 >=20 > -------------------------------------------------------------------------= ----- > Do You Yahoo!? > =E9=9B=85=E8=99=8E=E5=A8=B1=E4=B9=90=E6=96=B0=E9=B2=9C=E5=88=B0=E5=BA= =95,=E7=94=B5=E5=AD=90=E5=91=A8=E6=8A=A5=E5=BF=AB=E4=B9=90=E5=88=B0=E5=AE= =B6! |