View Single Post
  #6 (permalink)  
Old February 4th, 2005, 07:09 AM
ChrisScott ChrisScott is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

By the look of your function you are setting an error code & if this code is 0, everything is ok.
So at the end of your function add...
Code:
return err == 0 ? true : false;
Reply With Quote