Click here to Skip to main content
15,885,767 members
Articles / Desktop Programming / ATL

Elevating your application for dummies: A step-by-step guide to elevate and write in the Registry

Rate me:
Please Sign up or sign in to vote.
5.00/5 (10 votes)
8 Apr 2009CPOL3 min read 43.7K   411   30  
We are going to enable your application to write entries in HKEY_LOCAL_MACHINE, elevating your application when necessary.
/*********************************************************
   DllData file -- generated by MIDL compiler 

        DO NOT ALTER THIS FILE

   This file is regenerated by MIDL on every IDL file compile.

   To completely reconstruct this file, delete it and rerun MIDL
   on all the IDL files in this DLL, specifying this file for the
   /dlldata command line option

*********************************************************/

#define PROXY_DELEGATION

#include <rpcproxy.h>

#ifdef __cplusplus
extern "C"   {
#endif

EXTERN_PROXY_FILE( Elevator )


PROXYFILE_LIST_START
/* Start of list */
  REFERENCE_PROXY_FILE( Elevator ),
/* End of list */
PROXYFILE_LIST_END


DLLDATA_ROUTINES( aProxyFileList, GET_DLL_CLSID )

#ifdef __cplusplus
}  /*extern "C" */
#endif

/* end of generated dlldata file */

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Dreaming With Objects S.L.
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions