C API program. NSFNoteOpen returns 5065. Thiserror is not documented, and OSLoadString does not
return a string for it. Anyone know what it
means?
C API program. NSFNoteOpen returns 5065. Thiserror is not documented, and OSLoadString does not
return a string for it. Anyone know what it
means?
Subject: NSFNoteOpen error 5065
you mean 5065 hex.
#define STS_REMOTE ((STATUS) 0x4000)
would be 1065 that’s package
#define PKG_BOOKMARK 0x1060
if its 5065 dec its
#define PKG_NSF3 0x1380
than you’re lucky cause it’s defined in nsferr.h:
#define ERR_NBNS_CORRUPT PKG_NSF3+73
internaltext(ERR_NBNS_CORRUPT, "Non-bucketized nonsummary data is corrupt, perhaps partially written")
Markus Seitz
Subject: NSFNoteOpen error 5065
Have you tried using the ERR(error) macro?
It appears that you have not. See this note from the C API on the ERR macro:
The C API macro ERR() masks off these two bit flags, yielding an error code with just the subsystem identifier and the subsystem-specific error code. Use the macro ERR() to mask off these bits before passing a STATUS error code to OSLoadString, because these bits may prevent OSLoadString from interpreting the code correctly.