Implementing IDebugProgramNode2::GetEngineInfo
When a program is published with the process debug manager (PDM) as a program that can be debugged, the PDM calls the program's IDebugProgramNode2::GetEngineInfo method to find the preferred name of the associated debug engine and to get the identifier of the engine.
To implement GetEngineInfo
Open the Program.cpp file, find CProgram::GetEngineInfo, and replace the //TODO: RETURN ENGINE INFO as well as the following return statement with the following:
if (NULL != pbstrEngine) { *pbstrEngine = SysAllocString(L"Text Interpreter DE"); } if (NULL != pguidEngine) { *pguidEngine = __uuidof(Engine); } return S_OK;
Build the project to make sure there are no errors.