Hi!
I’m trying to implement an Extension Manager dll and am having a major issue with the EM_NSFNOTEOPENEXTENDED call back function. Basically i cant get a handle to the Note that is being opened - when ever i make a check against it being a NULLHANDLE it fails.
Here’s a bit of a snippet of my code …
+++++++++++++++++++++++++++++++
case EM_NSFNOTEOPENEXTENDED:
{
…
ap = pExRecord->Ap;
hDB = VARARG_GET (ap, HANDLE);
note_id = VARARG_GET (ap, NOTEID);
Flags = VARARG_GET (ap, WORD);
hNote = VARARG_GET (ap, HANDLE); /* the note */
if (hNote == NULLHANDLE) {
goto Exit0
}
+++++++++++++++++++++++++++++++++++++++++++++
It will ALWAYS fail at the hNote == NULLHANDLE line (well actually that line will always return TRUE, which in the case of my code consider a fail)
I’m tearing my hair out because that basically means i can never get any info from the NOTE - which obviosly i want to do.
Any help would be awesome
Thanks
S