-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
程序运行出错:“System.ArgumentNullException”类型的未经处理的异常在 mscorlib.dll 中发生 其他信息: 值不能为 null。 #13
Comments
一样的问题 "do_lps"作为参数传入就会报ArgumentNullException错误 |
我的是visual studo 2017,opencv3.4.1,编译通过,也是报同样的错误,希望解决。 |
有解决方案:将编译后的create.dll文件和opencv_world310.dll放在system32下就可以了,估计还是环境变量未设置好。 |
刚刚又测试了一下,估计各位与我一样,没有设置环境变量。 |
添加到系统还是用户的Path中? |
请问您解决了吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//将要执行的函数转换为委托
public Delegate Invoke (string APIName,Type t)
{
IntPtr api = GetProcAddress(hLib, APIName);
return (Delegate)Marshal.GetDelegateForFunctionPointer(api, t);
}
错误定位在return 这一行,
显示:System.ArgumentNullException”类型的未经处理的异常在 mscorlib.dll 中发生 其他信息: 值不能为 null。
The text was updated successfully, but these errors were encountered: