Display the console program to the list of installed programs

Source: Internet
Author: User
Source: http://www.devdiv.net/frame.php? Frameon = Yes & Referer = http % 3A // www.devdiv.net/
-------------------------------------------------

You can use a registry file to create a consoleProgramIt is displayed in the list of installed programs.

Steps:

1. Add a registry RSS file for the console program. For example, myconsoleapp. RSS has the following content:

# Include <appinfo. RH>
Uid2 kuidappregistrationresourcefile
Uid3 0xa20001eb // modify this to uid3 that matches the MMP File

Resource app_registration_info
{
App_file = "myconsoleapp"; // modify the application name
Embeddability = kappnotembeddable;
}

2. Modify the MPs file and add the following content:

Start resource myconsoleapp. RSS
# Ifdef winscw
Targetpath/private/10003a3f/apps
# Else
Targetpath/private/10003a3f/import/apps
# Endif
End // Resource

3. Compile and run.

Summary. The console program can be directly run on the graphic interface for ease of use and convenience of debugging.

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.