Gen Synthetic Timestamp [php]

// Calculate time to nearest 15 minutes
$roundness = 60 * 15;
$rounded_now = (round(time() / $roundness) * $roundness);
$sql = “SELECT author, title, body FROM articles WHERE publish_date <= $rounded_now”;

BCX: change font size BCX_PRINT

add two line in generated C source program. :

int BCX_Print(HWND hWnd, int x, int y, char *Text, HDC DrawHDC)
{
int b=0;
if(!DrawHDC) DrawHDC=GetDC(hWnd),b=1;
SelectObject (DrawHDC, DefaultFont) ; /* *** */
int a=TextOut(DrawHDC,x,y,Text,strlen(Text));
DeleteObject (SelectObject (DrawHDC, GetStockObject
(SYSTEM_FONT))) ; /* *** */
if(b) ReleaseDC(hWnd,DrawHDC);
return a;
}