zoukankan      html  css  js  c++  java
  • r6034 an application has attempt to load the c runtion library incorrectly

    So... How to find the problem in similar situations?

    1. Download Process Explorer here.

    2. Start your application and reproduce runtime error R6034.

    3. Start Process Explorer. In the "View" menu go to "Lower Pane View" and choose "DLLs".

    4. In the top pane, locate your application and click on it. The bottom pane should show a list of DLLS loaded for your application.

    5. Locate "msvcr??.dll" in the list. There should be several. Look for the one that is not in the "winsxs" folder, and make a note of it.

    6. Now, check the path just before your application runs. If it includes the folder you noted in step 5, you've probably found the culprit.

    How to fix the problem? You'll have to remove the offending entry from the path before running your program. In my case, I don't need anything else in the path, so I wrote a simple batch file that looks like this:

    path=
    myprogram.exe

    That's it. The batch file simply clears the path before my program runs, so that the conflicting runtime DLL is not found.

    Hope this helps!

    //ref:http://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application

  • 相关阅读:
    隐马尔科夫模型
    计算复杂性理论——函数
    STM32硬件I2C调试
    FPGA简单图像处理
    STM32配置使用外部12MHz晶振
    STM32从模式接受数据
    STM32 I2C读写EEPROM(中断模式)
    STM32 I2C读写EEPROM(POLLING模式)
    STM32串口实验
    STM32使用TIM闪烁LED——PWM方式
  • 原文地址:https://www.cnblogs.com/k22009/p/4317999.html
Copyright © 2011-2022 走看看