Article ID: 183106 - Last Review: July 11, 2005 - Revision: 1.3

How To Debug Control Panel Property Sheet Extensions

This article was previously published under Q183106
Expand all | Collapse all

SUMMARY

Unlike most Shell Extensions, Control Panel Property Page Extensions do not run in Windows Explorer's process and cannot be debugged by shutting down Windows Explorer and debugging it.

To debug a Control Panel Property Page Extension, the executable for the debug session should be set to:
   <windows dir>/rundll32.exe
				
And, the arguments should be:
   shell32.dll,Control_RunDLL <control panel your page is added to>.cpl
				

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.

APPLIES TO
  • Microsoft Platform Software Development Kit-January 2000 Edition
Keywords: 
kbhowto kbshell kbextension kbpropsheet kbcplext KB183106
 

Article Translations