After compiling the EXE and running it on another machine, the system prompts: unable to locate the program input point to _ ftol2 on the Dynamic Link Library msvcrt. dll.

Source: Internet
Author: User

A program compiled by me could run well on other machines the other day. Some code was updated these days because the system was reinstalled and compiled with vs2008.

After translating the new exe program and running it on other machines, the system prompts: unable to locate the program input point to _ ftol2 on the Dynamic Link Library msvcrt. dll.

After checking the information for a long time, I did not find any available method, so I re-compiled the code from the previous day, and even prompted: unable to locate the program input point to _ ftol2

Msvcrt. dll.

Finally, I used my team's XP + vc2008 for compilation, and the results can be run again on other machines.

If you have the same problem with me, try it.

 

Other methods (I did not succeed, but some machines should be able to): 1. package vc9 files in the winsxs directory under winsxs, and C:/Windows/winsxs/manifests and C:/Windows/winsxs/policies, copy all the copies to the target machine (this is what Brother fabbery on the Forum said)

2. Use msvcrt. dll of a later version to replace msvcrt. dll in Windows/system32/(this is Baidu's)

3. Use the system to restore a machine that cannot be run, especially the one that can be run at the beginning.

 

 

After doing another experiment, I finally found out the real cause of the problem. It wasn't a compilation problem or msvcrt. DLL, but because I put the iphlpapi under Vista. the DLL is copied to the program directory, while the iphlpapi. the dll version is inconsistent with the version of XP, causing an error. Delete the lplpapi. after the DLL, everything is restored ~~~ Bytes

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.