Create an Account
username: password:
 
  MemeStreams Logo

Serial Port prograhhhhhhhhhhhhhhhhhhhhhh!

search

Acidus
Picture of Acidus
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Acidus's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
Serial Port prograhhhhhhhhhhhhhhhhhhhhhh!
Topic: Technology 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
RSS2.0