Microsoft KB Archive/199802

{|
 * width="100%"|

HOWTO: Enable Debugging of Resource Type Control Code Functions

 * }

Q199802

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)
 * Microsoft Cluster Server

-

SUMMARY
When you debug the control code functions of a resource type, you must set both the DebugControlFunctions and DebugPrefix properties of a resource type. There is currently no user interface provided for setting the DebugControlFunctions property.

MORE INFORMATION
You can only set the DebugControlFunctions property through the Cluster.exe command line tool. The Microsoft Platform SDK documentation states that the property should be set to TRUE. Since the property is a DWORD value, this means that you must set it to 1. For example:

cluster restype " " /prop DebugControlFunctions=1 where is the display name for the resource type for which you want to set the property.

You can set the DebugPrefix property with either Cluster.exe or Cluster Administrator. If you use Cluster Administrator, you must first install the DebugEX Extension DLL. Next, open the Resource Type Properties dialog box, click the Debug tab, and set the Debug prefix.

If you use Cluster.exe to set the DebugPrefix property, use a command line similar to the following:

cluster restype " " /prop DebugPrefix= where is the display name for the resource type for which you want to set the property and is the full path to the debugger you want to use.

NOTE: The previous Cluster.exe examples assume that you are executing the command on one node of the cluster. If the command is being executed from a client, the cluster name will have to be provided as the first parameter to Cluster.exe. For more information, execute Cluster.exe without any parameters.

Additional query words:

Keywords : kbClustServ100

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbClustServSearch kbSDKSearch kbWin32sSearch