C++ dll抛出断言失败

发布于 2024-10-08 14:16:39 字数 234 浏览 0 评论 0原文

我有一个用 C# 编写的程序,它使用用 C++ 编写的 dll。我有这个来源,但改变它超出了范围。应用程序中保存了两个类型为 .pak 和 .jrn 的文件。但是这些文件的位置是可配置的。如果我选择将其保存在本地位置(运行 C# 代码的计算机的硬盘驱动器上的某个位置),它就可以正常工作。但是,当我尝试配置系统以将文件存储在远程计算机中时,我收到 C++ 中的断言失败错误。

这确实很紧急。任何帮助将不胜感激。

提前致谢,

I have a program written in C# that consumes a dll written in C++. I have the source for that but changing that is out of scope. There are two files of the type .pak and .jrn that get saved in the application. However the location of these files are configurable. If I choose to save it in a local location (somewhere on the hard drive of the machine running my C# code) it works just fine. However, when I try to configure the system to store the files in a remote machine, I get Assertion Failure error in C++.

This is really urgent. Any help will be greatly appreciated.

Thanks in advance,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

画▽骨i 2024-10-15 14:16:49

我注意到您正在配置 pakDir,但没有配置 jrnDir。所以我的猜测是 jrnDir 指向远程计算机上的无效文件路径。

I notice that you are configuring pakDir, but not jrnDir. So my guess is that jrnDir points to an invalid file path on the remote machine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文