Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves the default registry path for the application.

LPCTSTR GetRegistryBase();

A string that contains the path of the default registry location.

All methods of the CWinAppEx Class that access the registry start in a default location. Use this method to retrieve a path of the default registry location. Use CWinAppEx::SetRegistryBase to change the default registry location.

Header: afxwinappex.h

© 2015 Microsoft