View Single Post
  #14 (permalink)  
Old 04-15-2009, 05:34 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by mjcoon View Post
I think I should be able to guess the default values
I assume you meant EnableOnError instead of one of the EnablePinChangeds. You could always read them back instead of guessing - but in fact they are all False .

Your reasoning is sound except that as Serial2.dll defaults to EnableOnComm = False I made SerialEx the same. I didn't set EnableOnEof = True as I didn't want to automatically enable the deviant behaviour which was the reason for this new library. I wanted to be able drop SerialEx into a problematic Serial2 app without changing any code and for it to just work.
Reply With Quote