Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Writes data derived from the CObject Class to the registry.

BOOL WriteObject(
   LPCTSTR lpszEntry,
   CObject& obj 
[in] lpszEntry

A string that contains the value to set.

[in] obj

A reference to CObject data that the method will store.

TRUE if this method is successful; otherwise FALSE.

This method writes the obj data to the specified value under the default registry key. Use CWinAppEx::GetRegistryBase to determine the current registry key.

Header: afxwinappex.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.