About "the application cannot be started normally (0xc000007b ). Click OK to close the application ."

Source: Internet
Author: User

I recently updated my new computer and installed the win7 x64 flagship edition. I used to use the x86 system. I haven't encountered any problems after I switched to x64. Today, I want to debug the old one.CodeIt can run normally in the original win7 x86, but it is started todayProgramAlways reported that the application cannot start normally (0xc000007b ). Click "OK" to close the application .", I thought it was a simple running problem, so I re-compiled it again (in Win32 mode). The results were still problematic, and there was no gain in searching online for a long time, the most common error is that some hard disk games encounter this error at startup, but it is different from mine. After an afternoon of hard work, I couldn't do it. I had to install a virtual machine on the curve to save the country, run win7 x86, and then debug the code.

After the virtual machine system is installed, I tried to run the program, and the result showed that libmysql. dll could not be found. I remembered that MySQL was not installed. when MySQL was installed, the program ran smoothly. At this moment, I suddenly thought of something, because Windows 7x64 is installed on the machine, so I try to find the x64 version of the installed programs, and MySQL is no exception, is there a problem with this dll version? I quickly copied the libmysql. dll of X86 MySQL installed in the virtual machine to my program directory, run, bingo! Everything is normal!

lack of experience in development with x64 Systems, due to temporary negligence, I forgot the possibility of errors. The Win32 program can run in win64, but it must have a corresponding version of DLL. Otherwise, it is "When!" The sound of a sound echoed in my mind for an afternoon ......

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.