|
|
|
|
An application illustrating key (pun unintended) registry functions - RegCreateKeyEx, RegSetValueEx, RegCloseKey, RegOpenKeyEx, RegQueryValueEx, RegEnumKeyEx, RegDeleteKey. It simply creates & sets a new registry entry, opens & queries the value back & then deletes it to clean up. Of particular interest here is the recursive deletion function that navigates hierarchies and removes any & all registry entries under the key specified. Need for the above ? Well, Win 98 allows deletion of subkeys with a simple RegDeleteKey on the parent key whereas Win NT & 2000 do not. Hopefully, this should get you on the road to exploring the other registry functions.
This is a simple MFC SDI app that creates & displays two system tray icons, illustrates how to
programmatically differentiate between them & also how to invoke a pop-up menu on right clicking an icon.
Coming soon - windows sockets. In my spare time I'm working on an ATL based Messaging application using windows sockets, intended to help teams communicate seamlessly in real time across corporate locations. |