Several questions about

Source: Internet
Author: User

1. vs2008 Compilation
Hour
"
Error prj0003: An error occurred while generating cmd.exe.


 
"Problem

Solution
I
:
Tools-> options-> projects and solutions-> VC ++ directory, add the following in the executable file bar:
Three
Path: $(systemroot)/system32




$ (Systemroot)




$ (Systemroot)/system32/WBEM

Solution 2:
Change $ (PATH) to $ (systemroot)/system32; $ (systemroot)/system32/WBEM

2,
The DOS window disappears when vs2008 runs the C ++ program.

Solution 1:
When the program contains iostream, you can add the system ("pause") statement before the return statement in the main function ");

Solution 2:
Add getchar (); to the last row of the main function. If one fails, add a few more.

3,
Vs2008 Compilation
Msvcp90d. dll not found
Problems

Solution:
A Microsoft Bug...
You can recompile the project,
Remember
Project must be put into NTFS partition
!
If it doesn't work, change the debug mode to the release mode.
.

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.