Skip to content

Latest commit

 

History

History
53 lines (50 loc) · 1.71 KB

c-runtime-error-r6031.md

File metadata and controls

53 lines (50 loc) · 1.71 KB
title C Runtime Error R6031 | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic error-reference
f1_keywords
R6031
dev_langs
C++
helpviewer_keywords
R6031
ms.assetid 805d4cd1-cb2f-43fe-87e6-e7bd5b7329c5
caps.latest.revision 5
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

C Runtime Error R6031

Attempt to initialize the CRT more than once. This indicates a bug in your application.

Note

If you encounter this error message while running an app, the app was shut down because it has an internal problem. This may be caused bug in the app, or by a bug in an add-on or extension that the app uses.

You can try these steps to fix this error:

  • Use the Apps and Features or Programs and Features page in the Control Panel to repair or reinstall the program.
  • Use the Apps and Features or Programs and Features page in the Control Panel to remove, repair or reinstall any add-on or extension programs used by the app.
  • Check Windows Update in the Control Panel for software updates.
  • Check for an updated version of the app. Contact the app vendor if the problem persists.

Information for Programmers

This diagnostic indicates that MSIL instructions were executing during loader lock. For more information, see Initialization of Mixed Assemblies.