How to debug Control Panel applet (cpl) in VS .NET 2005

来源:互联网 发布:多进程编程主要目的 编辑:程序博客网 时间:2024/05/18 01:17

The following steps can help developer to debug cpl program in VS .NET 2005:


1. Set debug command to C:/Winnt/system32/rundll32.exe or C:/Windows/rundll32.exe
2. Set debug arguments to shell32.dll, Control_RunDLL [CPL path and name]

After this, you can easily set breakpoint and step code lines one by one. Enjoy it!