Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDDEClient:ServerInfo() Method
Get information about one or more servers
------------------------------------------------------------------------------

Syntax
<oDDE>:ServerInfo( [ <cServer> ] )   -->   aDDE

Arguments
<cServer> is an optional string specifying the name of the
server.  The default is to gather information from all
responding servers.

Returns
An array containing sub-arrays, where each sub-array is:
     { <cServerName>, <cTopic>, <hWndServer> }

Description
This method can be used to get information about the servers
currently running.

Example
// From SOURCE\OO\CLASSES\DDECLIEN.PRG:
METHOD Servers()                                             ;
       INLINE local     oDDE,                                 ;
              local     a,                                    ;
              oDDE := WDDEClient{self},                       ;
              a := oDDE:ServerInfo(),                        ;
              aeval(a, {|ae| MessageBox(0, ae[1] + "|"        ;
                                        + ae[2], "Server")}), ;
              oDDE:Axit(),                                   ;
              0


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson