I finally got primitive version of httpd implemented (sends file as response), and I will be soon able to start testing php. Before that, I have yet to simplify database API a bit, so that it matches code php module's code draft.
Which means that instead of:
lpRow = GetCollectionRow(lpCollection, lRowID, lRowIndex);
lpValue = CreateWStringValue(L"fooo", 4);
lpOldValue = GetRowColumnValue(lpRow, lColumnIndex, lpValue);
SetColumnValue(lpCollection, lRowID, lRowIndex, lColumnIndex, lpValue);
DeleteRow(lpRow);
one uses:
lpValue = CreateWStringValue(L"fooo", 4);
lpOldValue = GetColumnValue(lpCollection, lRowID, lRowIndex, lColumnIndex);
SetColumnValue(lpCollection, lRowID, lRowIndex, lColumnIndex, lpValue);
DeleteRow(lpCollection, lRowID, lRowIndex);
... duh. All this to simplify usage from php/tcl/lua.
|