Advertisement

win32, registry and c++.

Started by June 16, 2002 03:51 PM
2 comments, last by illmenni 22 years, 6 months ago
how can i let my program add someting into the registry, like adding something into the "HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/run/" folder so my program starts when you log in.
Look up the registry functions on MSDN, like RegOpenKeyEx, RegQueryValueEx, etc.
---visit #directxdev on afternet <- not just for directx, despite the name
Advertisement
There is also a class called CRegKey that lets you manipulate the registry too. Look it up on MSDN. Don''t worry, it''s not MFC.

/*=========================================*/
/* Chem0sh */
/* Lead Software Engineer & Tech Support */
/* http://www.eFaces.biz */
/*=========================================*/
/*=========================================// Chem0sh// Lead Software Engineer & Tech Support// http://www.eFaces.biz=========================================*/
P.S. to use CRegKey, you''ll need to include atlbase.h.
/*=========================================// Chem0sh// Lead Software Engineer & Tech Support// http://www.eFaces.biz=========================================*/

This topic is closed to new replies.

Advertisement