Unable to locate the program input point problem

Source: Internet
Author: User
Today try to build yourself a Cocos project before building the project somehow can't run, hint:

Now try to find out where the problem lies.
Found a strange phenomenon, is the build of the independent CPP project generated by the program, in the VS12 can not run, and in the Explorer double-click EXE program to run. It is often found that if you delete the Zlib1.dll file, you cannot run it in the resource manager.
The initial judgment is that when the VS load DLL, Zlib1.dll is replaced with another file of the same name, and there is no InflateReset2 function in the DLL with the same name (maybe the version is different?). )。
Look at the VS Output window, found loaded SysWOW64 inside the DLL, so go to the directory a search, sure enough to find a zlib1.dll, delete, normal.
The conclusion is that when the VS load DLL, the search path is to go to SysWOW64, System32 such directories to find, and then in the current directory (generally, the. VC (x) proj file directory) to find.
But why does the sample project in the Cocos project not have this problem? It's still not clear.

From for notes (Wiz)

Unable to locate the program input point problem

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.