C#语言错误 [英] Error with C# language

查看:72
本文介绍了C#语言错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在编写程序时遇到错误.有人可以帮助我吗?
这是我运行程序时显示的消息:
"
DLL
``C:\ WINDOWS \ assembly \ GAC \ Microsft.DirectX \ 1.0.2902.0_31bf3856ad364e35 \ Microsft.DirectX.dll''正在OS Loader乐库中尝试托管执行.请勿尝试在DllMain或图像初始化功能中运行托管代码因为这样做会导致应用程序挂起.
"
就是这个.
感谢您的帮助!

I have an error when i code my program.Can anyone help me?
This is message displayed when i ran my program:
"
DLL
''C:\WINDOWS\assembly\GAC\Microsft.DirectX\1.0.2902.0_31bf3856ad364e35\Microsft.DirectX.dll'' is attempting managed execution inside OS Loader lok.Do not attempt to run managed code inside a DllMain or image initialization fuction since doing so can cause the application to hang.
"
This is at all.
Thanks for any help!

推荐答案

似乎是直接x的已知问题.
检查此 http://vivekthangaswamy.blogspot.mx/2006/11/loaderlock- was-detected-error-when.html [ ^ ]
Seems that is a known issue with direct x.

Check this http://vivekthangaswamy.blogspot.mx/2006/11/loaderlock-was-detected-error-when.html[^]


以下网址可能对您有所帮助.

http://stackoverflow.com/questions/889736/why-am-i-getting-the-loaderlock-was-detected-warning-when-debugging [ ^ ]


http://bytes.com/topic/c-sharp/answers/562764- os-loader-lock-exception [ ^ ]
below urls may helps to you.

http://stackoverflow.com/questions/889736/why-am-i-getting-the-loaderlock-was-detected-warning-when-debugging[^]


http://bytes.com/topic/c-sharp/answers/562764-os-loader-lock-exception[^]


这篇关于C#语言错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆