Returns a default application object for the current process.
HRESULT GetDefaultApplication( IDebugApplication** ppda );
[out] The debug application object for this application.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method creates a new debug application object and adds it to the running application list, if necessary.
Language engines should use the application specified by the GetDefaultApplication method if they are running on a host that does not provide an application.