Add scripting to your application with Vbsedit !



Allows the creation of objects in the debugger process by code that is out-of-process to the debugger.

System_CAPS_security Security Note

This method should not be implemented, because it allows untrusted code to create arbitrary objects in a trusted debugger thread.

HRESULT CreateInstanceAtDebugger(
   REFCLSID    rclsid,
   IUnknown*   pUnkOuter,
   DWORD       dwClsContext,
   REFIID      riid,
   IUnknown**  ppvObject


[in] Class identifier (CLSID) of the object to create.


[in] If NULL, the object is not being created as part of an aggregate. Otherwise, pUnkOuter is a pointer to the aggregate object's IUnknown interface (the controlling IUnknown).


[in] Context for running executable code. The values are taken from the enumeration CLSCTX.


[in] The interface identifier used to communicate with the object.


[out] Address of pointer variable that receives the interface pointer requested in riid. Upon successful return, *ppvObject contains the requested interface pointer. Upon failure, *ppvObject contains NULL.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.




The method succeeded.

This method delegates to CoCreateInstance.

The method is not currently implemented.

Add VBScript and Javascript scripting
to your application with VbsEdit !

Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.


Copyright © 2001-2022 adersοft