Microsoft KB Archive/183106

{|
 * width="100%"|

HOWTO: Debug Control Panel Property Sheet Extensions

 * }

Q183106

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

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:

  /rundll32.exe And, the arguments should be:

  shell32.dll,Control_RunDLL .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.

Additional query words:

Keywords : kbCPLExt kbExtension kbOSWinNT400 kbOSWin2000 kbPropSheet kbSDKWin32 kbOSWin95 kbOSWin98 kbshell kbGrpDSShell

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch