我想使用Evernote swift SDK删除笔记中的所有标签。这是我的代码,但我不能用它删除它们,无论如何都可以这样做?
ENSession.shared.download(noteRef!, progress: nil) { (note: ENNote?, error: Error?) in
if error == nil {
note?.tagNames = [String]()
ENSession.shared.upload(note!, policy: .replace, to: nil, orReplace: noteRef, progress: nil, completion: { (noteRef: ENNoteRef?, error: Error?) in
if error == nil {
print("Tag Deleted")
}
})
}
}
答案 0 :(得分:0)
你能试试吗?
TCHAR cmd[] = TEXT("C:\\Windows\\system32\\rundll32.exe C:\\Projects\\Test\\mydll.dll,MyFunc");
BOOL cpRes = CreateProcess(NULL, cmd, ...);