Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c api - note copy problem

Status
Not open for further replies.

piq

Programmer
Apr 2, 2003
15
0
0
PL
Hi,

I'm using C Api and have following problem:
While Extension Manager running (in EM_BEFORE) I try to make in memory copy of the note with NSFNoteCopy function.
After that, I'm using functions to generete OID (and set info with new OID to copy of the note - NoteSetInfo function), setting NoteID to 0 and change database to some other. After that, I save new Note (NSFNoteUpdate) and close the note.
Problem is that when I open later this Note, I cannot open any attachments, I see that they are but they looks like damaged. What is the reason? Should I do anything else except calling this functions like below?

Thanks for help,
Piq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top