I had a problem with “demo” it seems “iface_version” should be 11 and not 8 (solved). Other problem is that this line: extensions::IAppEventSinkPtr appSink(new AppEventSink());
generates a bug and PN is shout off.
If this line is not in use everything works fine.
How can I read current document path or find and replace some contents in it?