API nsfSearch

With API c++, I sign my database with this code extract :wSearchFlags = SEARCH_SUMMARY

	STATUS error = NSFSearch(

				m_DBHandle,         // database handle

				NULL,               // selection formula (select all notes)

				NULL,				// title of view in selection formula

				wSearchFlags,       // search flags

				wNoteClassMask,     // note class to find

				NULL,				// starting date (unused)

				SearchUniqueID_CallBack, // call for each note found

				(void*)&Arg,           // argument to AddIDUnique

				NULL );             // returned ending date (unused)

if(error!=NOERROR)

{

	CNotesError::Set(error,"Error : Unable to search in database");

}

return error==NOERROR;

Complet code example here : http://forum.dominoarea.org/how-to-sign-nsf-databases-externally-to-lotus-notes-t12236,search_id,164803559.html

Before 8.5 (5.13/6.5.6/7.0.2/8.0.2):

wNoteClassMask = NOTE_CLASS_ALLNONDATA

And all design is sign with id server

Now in 8.5 and 8.5FP1 :

wNoteClassMask = NOTE_CLASS_FORM+NOTE_CLASS_VIEW+NOTE_CLASS_ICON+NOTE_CLASS_DOCUMENT+NOTE_CLASS_FIELD

If i use NOTE_CLASS_ACL or NOTE_CLASS_ALLNONDATA or NOTE_CLASS_ALL i’ve got an error with NSFSearch !

In 8.5, the nsfsearch in api c++ has changed ?

And agent is not sign …

thanks you for your help