Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Serial Port prograhhhhhhhhhhhhhhhhhhhhhh!. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Serial Port prograhhhhhhhhhhhhhhhhhhhhhh!
by Acidus at 11:24 pm EST, Feb 13, 2005

MFC API is a POS! I am totally spoiled by *nix programming. Want to read a port? fp = fopen("/dev/ttySO", "r"); fgets(buffer, 1024, fp); Maybe some stty stuff to set echoing, baud if its something odd like 4800, etc.

But for Windows... I have to extend some obscure C++ classes, or use a 3rd party solution, where I am setting up baud, and parity, and timeout values, and registering functions. Now my (relatively) nice-looking Stripe Snoop code is pimpled with giant #ifdef's.

Samir: This is a fuck.


 
 
Powered By Industrial Memetics