Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C++

System Information Utility

Rate me:
Please Sign up or sign in to vote.
4.95/5 (12 votes)
17 Apr 2001 500.6K   8.6K   107  
Utility to extract system information
@echo off
REM -- First make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file.  Used by SYSTEMAPPLICATION.HPJ. >"hlp\SystemApplication.hm"
echo. >>"hlp\SystemApplication.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\SystemApplication.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\SystemApplication.hm"
echo. >>"hlp\SystemApplication.hm"
echo // Prompts (IDP_*) >>"hlp\SystemApplication.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\SystemApplication.hm"
echo. >>"hlp\SystemApplication.hm"
echo // Resources (IDR_*) >>"hlp\SystemApplication.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\SystemApplication.hm"
echo. >>"hlp\SystemApplication.hm"
echo // Dialogs (IDD_*) >>"hlp\SystemApplication.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\SystemApplication.hm"
echo. >>"hlp\SystemApplication.hm"
echo // Frame Controls (IDW_*) >>"hlp\SystemApplication.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\SystemApplication.hm"
REM -- Make help for Project SYSTEMAPPLICATION


echo Building Win32 Help files
start /wait hcw /C /E /M "hlp\SystemApplication.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\SystemApplication.hlp" goto :Error
if not exist "hlp\SystemApplication.cnt" goto :Error
echo.
if exist Debug\nul copy "hlp\SystemApplication.hlp" Debug
if exist Debug\nul copy "hlp\SystemApplication.cnt" Debug
if exist Release\nul copy "hlp\SystemApplication.hlp" Release
if exist Release\nul copy "hlp\SystemApplication.cnt" Release
echo.
goto :done

:Error
echo hlp\SystemApplication.hpj(1) : error: Problem encountered creating help file

:done
echo.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions