Techy Things

Convert clipping area to win32 rect 0

Convert clipping area to win32 rect

RECT rect; rect.left = tmp.X; rect.right = tmp.X + tmp.W; rect.bottom = tmp.Y; rect.top = tmp.Y + tmp.H; ExtTextOutW(bitmapHDC, x, y, ETO_CLIPPED, &rect, wcString, wcLength, NULL);  

Ajax with PHP 0

Ajax with PHP

Building a basic REST API. For example to be used by third-party service. I used that code to interface with the builtin REST API caller from Mobile framework Sencha Touch. Allowing other domains (cross-domain)...