r6034 an application have attempt to load the C runtion library incorrectly

Source: Internet
Author: User

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, the "WinSxS" folder, and make a note of it.

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

How to fix the problem? You'll have a 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, which looks like this:

path=myprogram.exe

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

Hope this helps!

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

r6034 an application have attempt to load the C runtion library incorrectly

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.