Click or drag to resize

IHandler Interface

A Handler object provides access to a single WinWrap Basic Sub or Function.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public interface IHandler

The IHandler type exposes the following members.

Properties
 NameDescription
Public propertyExists Gets the Handler's existance state.
Public propertyIsModuleLoaded Gets the Handler's module loaded state.
Public propertyProcName Gets the procedure name for the Handler.
Public propertyPrototype Gets the prototype for the Handler.
Public propertyStepInto Gets or sets the Handler's step into mode.
Top
Methods
 NameDescription
Public methodCall Calls a sub or function.
Public methodCallPA Calls a sub or function.
Public methodEvaluate Evaluates a function and return a result.
Public methodEvaluatePA Evaluates a function and return a result.
Public methodReportError Reports an error generated during a Handler or Module object call.
Public methodStart Starts a sub.
Public methodStartPA Starts a sub.
Top
Remarks
If you don't define the DoEvents event your application won't allow user input while Basic code is executing. Any break point, unhandled error or Stop instruction during a Handler call will freeze the application permanently.

WWB.NET: Connecting a Sub/Function to a handler requires the Handles keyword.

See Also