1
WriterDemo example使用VB.NET与UNO API进行交互。 (也包括与SDK下载在file:///C:/Program Files/LibreOffice 5/sdk/examples/CLI/VB.NET/WriterDemo/
中的文件。)用于LibreOffice SDK的VB.Net示例
要构建并运行,我设置的命令行环境根据https://api.libreoffice.org/docs/install.html,然后使用make WriterDemo.run
执行的Makefile文件。但它崩溃在这条线:
xContext = Bootstrap.bootstrap()
错误消息:
Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at cppu.bootstrap(Reference<com::sun::star::uno::XComponentContext>*)
at uno.util.Bootstrap.bootstrap()
at WriterDemo.Main()
make: *** [WriterDemo.run] Error -1066598274