README.TXT
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- Sample: DDEML API Demonstration
- Summary:
- The Install SDK sample provides an example of how to use the DDEML
- API's to add groups and program items to the Program Manager. The
- program can be run either in interactive or batch mode and the
- search path can be specified on the command line.
- More Information:
- The program can be started from the command line. The following
- flags can be used.
- (-/)(sS) <path> Specify the search path. Currently this must be
- single path. The application searches for an environmental variable
- "MSTOOLS". If this variable is not found then the default value is
- c:mstoolssamples.
- (-/)g(G) <name> Specify the name of the group that the items
- should be added to. The default value is 'Sample Applications'.
- (-/)b(B) Specifies that the program should run in batch mode.
- The program will find all of the .exe files in the specified
- path, searching recursively. It will then create the specified
- group and add all of the found executables to the group. The
- program will then exit.
- (-/)(iI) Specifies interactive mode. This is the default. The
- program will find all of the exe files in the specified
- path, searching recursively. The names will be displayed in
- a list with the name that will be use displayed in an additional
- list. A drop down combo box will display a list of the currently
- available groups. The user can type in a new group name if
- desired.
- If the program finds more than 50 executables then after adding 50
- items to a group a new group is created using the name currently
- selected in the Program Manager Group list with "Part <n>" appended
- where <n> starts at 2 and is incremented after every new group is
- added.