C++ dll抛出断言失败
我有一个用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我注意到您正在配置
pakDir
,但没有配置jrnDir
。所以我的猜测是jrnDir
指向远程计算机上的无效文件路径。I notice that you are configuring
pakDir
, but notjrnDir
. So my guess is thatjrnDir
points to an invalid file path on the remote machine.