Integrating Custom DDX or DDV in 32-bit Class Wizard Interface

Last reviewed: October 10, 1997
Article ID: Q132948
2.00 2.10 2.20 4.00 WINDOWS NT kbtool kbusage

The information in this article applies to:

  • The ClassWizard included with:

        - Microsoft Visual C++, 32-bit Edition, versions 2.0, 2.1, 2.2, and 4.0
    

SUMMARY

Microsoft Visual C++ 32-bit Edition, versions 2.0 and above, allow users to integrate customized DDX and DDV routines into the ClassWizard interface. The Microsoft Foundation Class Library (MFC) Technical Note 26 (TN026) describes this feature.

MORE INFORMATION

TN026 describes how users can integrate their own DDX and DDV routines into the Class Wizard interface. For Visual C++ version 2.x, this is accomplished by adding an [ExtraDDX] section and its appropriate entries to the APSTUDIO.INI file in the Windows NT root directory. For Visual C++ version 4.0, this is accomplished by adding the necessary entries to either the [General Info] section of a particular project's .CLW file or in the [ExtraDDX] section of the DDX.CLW file in the \MSDEV\BIN directory. The required format for entries of both sections, [ExtraDDX] and [General Info] is clearly specified.

TN026 recommends that if a user plans to use the customized DDX and DDV routines in many projects, they should add the appropriate entries to the [ExtraDDX] section of the Visual C++ version 2.x APSTUDIO.INI file or the the Visual C++ version 4.0 DDX.CLW file. TN026 further recommends that if a user of Visual C++ version 4.0 plans to create these custom routines for just a few projects, then it is better to just modify the [GeneralInfo] section of the .CLW files for the particular projects.

By default, APSTUDIO.INI and DDX.CLW are not created. To do so, simply use a text editor and add the [ExtraDDX] section or the [GeneralInfo] section, respectively, as discussed above. APSTUDIO.INI must be placed into the Windows NT root directory; DDX.CLW must be placed in the %MsDevDir%\BIN directory, where %MsDevDir% is the full path to the installation directory of Visual C++ version 4.0.

REFERENCES

Please see Technical Note 26 for information on the [ExtraDDX] section and its entries.


Additional reference words: kbinf 2.00 2.10 2.20 4.00
KBCategory: kbtool kbusage
KBSubcategory: WizardIss
Keywords : WizardIss kbtool kbusage
Technology : kbMfc
Version : 2.00 2.10 2.20 4.00
Platform : NT WINDOWS


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: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.