EldoS
MsgConnect home / Documentation / Messenger.ThreadID property
Navigation
Web site
Support
Table Of Contents

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


Messenger.ThreadID

Messenger    


Contains an ID ([Java] reference to the thread) of the Messenger's thread.

Declaration

[C++]
    unsigned long getThreadID();

[Pascal]
    property ThreadID : Cardinal;

[VB6]
    not implemented;

[ActiveX]
    HRESULT _stdcall ThreadID([out, retval] unsigned long * Value );

[C#]
    public Thread ThreadID_net;

[VB.NET]
    Public ReadOnly Property ThreadID_net As Thread

[Java]
    not implemented;

[Java ME]
    not implemented;

[Palm]
    not implemented;

[DLL]
    unsigned long __stdcall MCMessengerGetThreadID(HMCMessenger h);

Parameters

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

Description

    This property contains an ID ([Java] reference to the thread) of the Messenger's thread. Messenger works on per-thread basis, i.e. all calls to Messenger object should be done in context of the thread, in which Messenger operates. This is the thread in which Messenger was created. Note, that you can't create a messenger in one thread and use it in another thread. All Messenger's lifecycle should happen in context of one thread.

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation