/*CPictureSet set(&g_library);

	set.m_strFilter.Format("[BookID] = %d AND [PageNumber] = %d AND [PictureNumber] = %d",
		data.nBook, data.nPage, data.nIndex);
	
	set.Open(IMG_KEY | IMG_NOTEFLAG | IMG_NOTE);

	if (!set.IsEOF())
	{
		set.Edit();

		set.m_strNote = data.strText;
		set.m_fNoteFlag = TRUE;

		set.Update();

		wsprintf(g_headers, hdrFmt, (const char*) g_strGmtNow, 0);
		sConnect.Write(g_headers, strlen(g_headers), 10);
	}
	else
		sConnect.Write(hdrErr, strlen(hdrErr), 10);
	
	set.Close();*/