PRB: Building Setup Toolkit Overwrites DIALOGS.RES File

Last reviewed: July 23, 1997
Article ID: Q87008
3.10 WINDOWS kbtool kbprg kbprb

The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SYMPTOMS

When the Resource Compiler builds the resources for the custom DLL in the Setup Toolkit provided with the Microsoft Windows Software Development Kit (SDK) version 3.1, the DIALOGS.RES file is overwritten.

RESOLUTION

Modify the files in the Setup Toolkit BLDCUI directory (by default, C:\WINDEV\MSSETUP\BLDCUI) as follows:

  1. In the DIALOGS.DLG file, add the following two statements:

          #include <windows.h>
          #include "dialogs.h"
    

  2. Rename the DIALOGS.RC file to MSCUISTF.RC.

  3. Edit MAKEFILE as follows:

    a. Find all occurrences of DIALOGS.RC and replace them with

          MSCUISTF.RC.
    

    b. Find all occurrences of DIALOGS.RES and replace them with

          MSCUISTF.RES.
    

MORE INFORMATION

It is necessary to make these changes before customizing the Setup Toolkit dialog boxes with the Dialog Editor. If the dialog box template, DIALOGS.RES, grows to larger than 64K, the Dialog Editor cannot load the file. For information on rebuilding the dialog template from the DIALOGS.DLG file, query in the Microsoft Knowledge Base on the following words:

   dialog editor corrupt


Additional reference words: 3.10
KBCategory: kbtool kbprg kbprb
KBSubcategory: TlsMss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.