I think CPlApplet should become the standard entry point for control panel application. But when I put the compiled file (yes, it compiles without any problem) in the Windows\System directory and then launch the file, nothing happens.

Can anyone help me?
Why doesn't the message box appear?
At least, do you know any web site where a simple example of such a cpl-app is given?

Creating Control Panel Applications
Every Control Panel application is a dynamic-link library. However, the DLL file must have a .cpl file name extension. For Windows 2000 and later systems, new Control Panel applications should be installed in the associated application's folder under the Program Files folder. The DLL's path must be registered in one of two ways:

If the Control Panel application is to be available to all users, register the path on a per-computer basis by adding a REG_EXPAND_SZ value to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cpls key, set to the DLL path.
If the Control Panel application is to be available on a per-user basis, use HKEY_CURRENT_USER as the root key instead of HKEY_LOCAL_MACHINE.
The following two examples register the MyCplApp Control Panel application. The DLL is named MyCpl.cpl and is located in the MyCorp\MyApp application directory. The first registry entry illustrates per-computer registration, and the second illustrates per-user registration.

For systems prior to Windows 2000, new Control Panel applications must be set up in one of the following ways:

Copy the DLL to the directory that contains the Windows system utility.
Copy the DLL to the Windows SYSTEM directory.
Write the path of the DLL using the WritePrivateProfileString function, specifying the string "MMCPL" as the section name and the string "control.ini" as the file name (no path). Do not actually write directly to the control.ini file. Instead, use the WritePrivateProfileString function, which automatically handles differences among platforms. The following example demonstrates how you would set up the path for MyCpl.cpl.
WritePrivateProfileString("MMCPL",
"MyCpl.cpl",
"C:\\mydir\\MyCpl.cpl",
"control.ini");

Note control.ini can also restrict which Control Panel applications are loaded. It is not recommended that applications alter Control.ini for this purpose.

Although a Control Panel application can support more than one subprogram, it processes all requests through the single CPlApplet function. In the following example, the Control Panel application supports three subprograms that let the user set preferences for a component stereo system attached to the computer. The example uses an application-defined StereoSubProgs array that contains three structures, each corresponding to one of the subprograms. Each structure contains all the information required by the CPL_INQUIRE message as well as the dialog box template and dialog box procedure required by the CPL_DBLCLK message. The code demonstrates how to fill the structures in the StereoSubProgs array.

The user can open Control Panel and start an application by double-clicking the application icon.
The user or an application can start a Control Panel application by executing it directly from the command line prompt.
The following example shows how an application can start the Control Panel application named MyCpl.cpl by using the WinExec function.

Introduction
This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…

The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…