dllMainReturnsFalse MDA

The dllMainReturnsFalse مدارة تصحيح الأخطاء assistant (MDA) هو activated if the مدارة DllMain دالة of a مستخدم تجميع, called مع reason DLL_PROCESS_ATTACH, إرجاع خطأ.

الأعراض

The DllMain دالة returned خطأ, indicating that it did not ينفذ properly. This can cause undetermined issues because DllMain دالات typically contain important تهيئة تعليمات برمجية.

السبب

The DllMain دالة هو called مع reason DLL_PROCESS_ATTACH for DLL تهيئة upon تحميل. If it إرجاع خطأ, it means that DLL تهيئة فشل.

الدقة

Analyze the تعليمات برمجية of the DllMain دالة of the فشل DLL و identify the cause of the تهيئة failure.

التأثير تشغيل وقت التشغيل

MDA هذا أي تأثير تشغيل CLR. It فقط reports بيانات حول the return القيمة for DllMain.

الإخراج

A رسالة indicating that a DllMain دالة, called for reason DLL_PROCESS_ATTACH, returned خطأ. ملاحظة that this MDA هو activated فقط if DllMain هو implemented في مدارة تعليمات برمجية.

التكوين

<mdaConfig>
  <assistants>
    <dllMainReturnsFalse />
  </assistants>
</mdaConfig>

راجع أيضًا:

المبادئ

تشخيص الأخطاء مع المساعدين التصحيح مدارة