Article ID: 166168 - Last Review: July 15, 2004 - Revision: 2.2 How To Use RUNDLL32 to Debug Control Panel AppletsThis article was previously published under Q166168 SUMMARY
You can use the RUNDLL32 application that is provided with Windows NT and
Windows 95 to debug Control Panel applets. Use the following debug settings
(set by selecting Build/Settings in Visual C++ version 4.x, or by selecting
Project/Settings in Visual C++ version 2.x and 5.0):
Executable For Debug Session: C:\winnt\system32\rundll32.exe
- or -
C:\windows\rundll32.exe
Working Directory:
Program Arguments: shell32.dll,Control_RunDLL [path and name of
CPL file]
Remote Executable Path and File Name:
MORE INFORMATION
The technique described here is subject to change in future versions of Windows and is provided for debugging purposes only. If you want your application to launch control panel applications programmatically, you should use the Control.exe program.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
135068
(http://support.microsoft.com/kb/135068/EN-US/
)
How to Start a Control Panel Applet in Windows 95
APPLIES TO
| Article Translations
|

Back to the top
