Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



Messenger.Destroy

Messenger     See also    


Disposes of the Messenger object.

Declaration

[C++]
    ~MCMessenger();

[Pascal]
    destructor Destroy;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    void Dispose();

[VB.NET]
    Public Sub Dispose();

[Java]
    not applicable;

[Java ME]
    not applicable;

[DLL]
    void __stdcall MCMessengerDestroy(HMCMessenger h);

Parameters

  • h - handle to the Messenger object that was returned by Create method

Description

    Use this method to dispose of Messenger object. Destroy removes all incoming messages from the queue and deletes the object.

    Note: you should not destroy an object from the message handler or if there is a working SendMessage method.

See also:     Create    

Discuss this help topic in MsgConnect Forum