Hi: I have a cpl file for the control panel. Just wonder how do I debug it in
the Vidual Studio? Which exe should I specify as the caller of this cpl?

Thanks in Advance!
Polaris

Re: Debug Control Panel App? by David

David
Thu Oct 25 10:32:03 PDT 2007

>Hi: I have a cpl file for the control panel. Just wonder how do I debug it in
>the Vidual Studio? Which exe should I specify as the caller of this cpl?

Have a look on MSDN for "How To Use RUNDLL32 to Debug Control Panel
Applets"

Dave

Re: Debug Control Panel App? by William

William
Thu Oct 25 10:33:57 PDT 2007

"Polaris" <Polaris@discussions.microsoft.com> wrote in message
news:5CD79F17-7583-4CA4-AF04-17E2D3341587@microsoft.com...
> Hi: I have a cpl file for the control panel. Just wonder how do I debug it
> in
> the Vidual Studio? Which exe should I specify as the caller of this cpl?

c:\windows\system32\rundll32.exe

As for an argument, you use this

shell32.dll,Control_RunDLL TheFullyQualifiedPathToYourCPLGoesHere

Regards,
Will



Re: Debug Control Panel App? by Alex

Alex
Thu Oct 25 10:39:36 PDT 2007

"Polaris" wrote:
> Hi: I have a cpl file for the control panel. Just wonder
> how do I debug it in
> the Vidual Studio? Which exe should I specify as the
> caller of this cpl?

KB166168 - "How To Use RUNDLL32 to Debug Control Panel
Applets"
http://support.microsoft.com/kb/166168


HTH
Alex