IntelliSense why cannot overload functions that are only differentiated by return type

Source: Internet
Author: User

IntelliSense: Cannot overload functions that are only differentiated by return type

D:\programfiles (x86) \microsoft Sdks\windows\v7.0a\include\winbase.h 3540

In the VS2010 under the C language to write Windows system services, from another C # project copy over a section of code, modify and then compile, it produced this error!

The answer to the online search is that "you cannot overload a function that is differentiated only by the return type" is typically the case with a function of the same name, but my code does not have a function of the same name.

According to past experience, there are strange problems, you might as well try to reboot vs try, restart, there is a surprise!

Click Yes, then recompile, the problem disappears!

But then try to use Hedit to modify the file line break, no longer reproduce some problems.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/net/

.

Author: csdn blog Micro WX Smile

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.