Article # 626, added by Geoworks, historical record
| first | previous | index | next | last |

Viewer library change regarding the undo feature.



Q. If I use the SDK_9000/FileSel sample to open a newly created Notes
   document it will crash with UNDO_OBJECT_MUST_BE_RUN_BY_PROCESS_THREAD.
   What needs to be done to avoid this crash?

A. The NotesEdit library supports undo, unfortunately, this only works if
   the app that launches it has only one thread (i.e., no app UI thread).
   As a workaround, when you call the Viewer library (ViewerLibraryOpen)
   you can pass VA_NO_UNDO to ensure the undo feature is not used.