- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我有一个 WPF 应用程序。在构建它时出现以下错误:
Could not load file or assembly or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
应用程序正在尝试从虚拟驱动器(作为调试文件夹)加载程序集
例如:[subst r: c:[my Assembly bin pth]
之前我将 c:\bin 安装为网络驱动器,但出现以下错误。
This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information.
编辑:顺便说一句,我在属性窗口中找不到取消阻止按钮。
最佳答案
清除项目的临时框架文件:
对于 Windows 7,路径是:
C:\Users\[username]\AppData\Local\Temp\Temporary ASP.NET Files\
对于路径中带有“Framework”的 64 位系统,完整路径为:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\
关于c# - HRESULT 异常 : 0x80070057 (E_INVALIDARG),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14871449/
我正在调查一个 E_INVALIDARG 异常,当我尝试创建第二个常量缓冲区来存储我的灯光信息时抛出该异常: // create matrix stack early CD3D11_B
在 Directx 12 中创建管道状态对象失败并显示 E_INVALIDARG 并且调试层输出一堆废话说 D3D12_GRAPHICS_PIPELINE_STATE_DESC 实例中的数据无效: D
我在这里尝试做的只是创建一个接口(interface)的实例。真的应该这么简单。一直在关注任何在线资料,阅读我能找到但终生无法解决这个问题的资料。 它归结为从 CoCreateInstance 返回的
我将 DirectInput 与 Direct3D 11 一起使用,并针对 x64 进行编译,我从这一行得到一个 E_INVALIDARG: HRESULT hr = DirectInput8Crea
我有一个 ATL COM 组件,它引发一些由托管(C# 和 VB.NET)代码处理的事件。该组件当前由 VS2005 VB.NET 项目(作为 ActiveX 控件)使用,并且引发了所有事件并且一切正
我试图弄清楚为什么我在运行代码时总是收到 E_INVALIDARG 错误。 ID3D11Buffer * cbPerObjectBuffer; cbPerObject cbPerObj; cb
我正在使用 DirectX11 用 C++ 编写程序。现在我想从着色器开始,为此我还需要 ID3D11InputLayout //in main shader.Bind(DeviceContext);
我有以下代码: struct shaderData { char *shaderCode; UINT size; }; struct shaderData *CubeApp::GetS
我正在使用 MediaFoundation使用 SharpDX 对来自 desktop duplication frames 的视频文件进行编码. 我正在创建纹理并捕获屏幕。然后将此纹理传递给 MFC
创建 d3d11 设备和交换链的代码无法在某些计算机上运行并返回 E_INVALIDARG 错误。对于具有相同版本 DirectX 的计算机,这也有所不同。我似乎找不到不同行为的原因。 DXGI_MO
我在调用 CreateGraphicsPipelineState() 时遇到了一个奇怪的错误。该函数返回 E_INVALIDARG,即使描述已全部设置。 之前的描述有效,我尝试将 indexbuffe
我正在尝试用 C++ 初始化 Direct3D11。在安装了 Visual Studio 的机器上(所有这些都在 Windows 10 上运行),它运行良好。在其他计算机(未安装 Visual Stu
好吧,我已经迷路了几个小时了...... IXSLTemplate::putref_stylesheet 不记录除 E_FAIL 之外的任何错误。 但是在我的例子中 putref_stylesheet
问题 我正在尝试调用 ProcessOutput 以从我的解码器获取解码数据并出现以下错误: E_INVALIDARG One or more arguments are invalid. 我尝试过的
COM 接口(interface)方法可以返回各种 HRESULT 值来表示传递的参数值无效。我什么时候返回 E_POINTER 什么时候返回 E_INVALIDARG? 据我所知,如果一个方法在封装
我有以下调用,无论我尝试什么,hresult 总是 E_INVALIDARG: LogMessage(L"Creating swap chain. Emulation: " + std::to_wst
我有一个 WPF 应用程序。在构建它时出现以下错误: Could not load file or assembly or one of its dependencies. The parameter
运行带有函数 DCompositionCreateDevice2 的 Win32C++ 源代码时出现异常问题,这是用 VS 2015 编译的。 源代码编译没有任何错误,但显示上述运行时错误。用VS 2
我有一个 d3dDevice: ComPtrd3dDevice; 我在这里将它用于 dxgiDevice: ComPtr dxgiDevice2; HRESULT hr; hr
我正在尝试在 GPU 内存中创建缓冲区以从 CPU 上传数据。 GPU 访问将是只读的。数据将用作计算着色器的输入缓冲区。 CreateBuffer() 失败并出现错误 0x80070057 (E_I
我是一名优秀的程序员,十分优秀!