Click here to Skip to main content
15,897,187 members
Articles / Desktop Programming / ATL

ATL PersistXML implementation

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
28 Jul 20032 min read 127.4K   1.3K   38  
Easiest way to add XML persistence to an existing IDispatch based ATL COM object.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by AtlPersistXmlSample.rc
//
#define IDADDUSER                       4
#define IDDELETEUSER                    5
#define IDS_PROJNAME                    100
#define IDR_AtlPersistXmlSample         100
#define IDD_ATLPERSISTXMLDLG            101
#define IDR_SYSTEMUSER                  102
#define IDR_MYSYSTEM                    103
#define IDC_TREE                        201
#define IDI_USER                        201
#define IDC_XML                         202
#define IDI_SYSTEM                      203
#define IDI_USER1                       204
#define IDI_USER2                       205
#define IDI_USER3                       206

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        207
#define _APS_NEXT_COMMAND_VALUE         32768
#define _APS_NEXT_CONTROL_VALUE         205
#define _APS_NEXT_SYMED_VALUE           104
#endif
#endif

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
Web Developer
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