Visual Studio 2019和Excel Addin .xll调试和Office 365 64位
我们在C ++(Visual Studio 2019)中开发.xll(基本上是C ++中的Excel扩展)。通常,我们通过在项目的属性中配置调试环境来调试这些问题。我们通常将命令设置为 /excel.exe /x并调试XLL代码。
直到我们开始过渡到Office 365。Excel是64位版本。那真的不是问题。我们已经建造了适当的64位XLL。问题是Visual Studio无法启动Excel。我们看到一个错误“< ...>/excel.exe,带有代码-1”,并说无法启动Excel的对话框。
发生了什么变化?人们是否有类似的经验以及他们如何解决这个问题。周围的工作是从批处理文件中启动Excel,并从Visual Studio中附加。但是这太乏味了。
事先感谢您的帮助和帮助。
We develop .xlls (Essentially an Excel Extension in C++) in C++ (Visual studio 2019). We typically debug these by configuring the Debug environment in the properties for the project. We typically set the command to be run as /excel.exe /X and debug the xll code.
This worked fine till we started transition to OFFICE 365. The excel is a 64 bit version. That is really not a problem. We have built appropriate 64 bit xlls. The issue is that Visual Studio fails to launch EXCEL. We see an error "<...>/excel.exe exited with code -1" and a dialog that says could not launch excel.
What has changed? Do folks have similar experience and how have they resolved the issue. The work around is to launch excel from a batch file and attach from visual studio. However this is too tedious.
Thanks in advance for the assistance and help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论