If working with points on a 2d triangle, or a line (defined by two points) on the plane defined by a triangle, then barycentric coordinates are an excellent method of representing the points. In particular, it allows you to find the point where the line crosses the edge of the triangle in a very simple way.
Guide I'm using re: barycentric coordinates: BlackPawn: Points in triangle Read More...
Symvol Community Edition Released
Today I worked on adding custom tooltips for a CSliderCtrl. The CSliderCtrl was an alternative interface to using a drop-down combo box, and the tooltips had to show what option was currently associated. Attempting to do this from the parent window via WM_NOTIFY didn't work, but the following example did: Read More...
Sending email through Task Scheduler
The Task Scheduler action "Send an e-mail" needs to be able to authenticate before sending.
To do this, I enabled the SMTP Feature in Windows, went into the firewall, disabled all the external access rules (just to be on the safe side), and allowed 127.0.0.1 to relay.
The Send Email action I set to use localhost for the SMTP server. The "From" setting is not used in the authentication process, rather the user account the Task is acting as.
The error messages I got through this process are:
Error Value: 2147746319 - Relay not permitted
Error Value: 2147746321 - Account not authenticating
I've got a new computer (paid for by Uformia to use for work) and I'm int he process of transitioning from Goliath to Hulk (for lack of a better name).