Click here to Skip to main content
15,881,092 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 126.8K   1.3K   38  
Easiest way to add XML persistence to an existing IDispatch based ATL COM object.
// AtlPersistXmlSample.idl : IDL source for AtlPersistXmlSample.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (AtlPersistXmlSample.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";


[
	uuid(5DDB7FFE-B6BD-46C6-9C3C-D5C107DEE3E4),
	version(1.0),
	helpstring("AtlPersistXmlSample 1.0 Type Library")
]
library ATLPERSISTXMLSAMPLELib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");


};

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