vc++6.0 Legacy Issues

Source: Internet
Author: User

With older vc++6.0 to do development will be a lot of problems, recommended to use VS2008 or above version development.

If for some reason adhere to the development of the line, but the following questions you have to master the solution.

1. Some classes in the view are suddenly missing

Solution: Open the file list, find out the Vanishing class header file in the humble place to hit a few spaces, and then save.

2. Electric shock Open File menu, program crashes

Solution: Download Filetool Replace menu item, solution Baidu a lot of.

3.CStdioFile class Read file return False

Solution: When the last line of data for a file is exactly 128 times the number of characters, read with ReadString, it will definitely return false. But actually the read is successful and the data in the returned CString is correct! (There is no such bug in this bug,vs2005 in VC6.0).

Modify the statement that determines ReadString success:

while (CSVFile. ReadString (strLine)! = FALSE | | Strline.getlength ()! = 0)

vc++6.0 Legacy Issues

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.