Jump to content




Window API error checking


3 replies to this topic

#1 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 06 April 2014 - 07:46 PM

Hello,

Lately I have been developing GUI's for CC. Im getting a lot of error like:
window:59: expected number

But, when I downgrade again, I get errors like:
<actual program>:<actual line number>: expected number

To fix this you can add some error checking in the window API so you dont get those vague error messages. This way the errors are more clear as opposed to an internal error in the window API.

- Thanks

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 06 April 2014 - 08:11 PM

I definitely support this. Having to check the API for the error in your program is the worst.

#3 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 07 April 2014 - 12:53 AM

*sigh* did Dan really miss a the Window API when I got him to add error levels into all the API...

#4 apemanzilla

  • Members
  • 1,421 posts

Posted 07 April 2014 - 03:49 PM

I support this.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users