4 ''' <remarks>This example requires no command line arguments.</remarks>
5 Module Remote_Client_Example
8 '''
Main function for the Remote Client example.
10 ''' <returns>The success status Or
error code of the function.</returns>
11 ''' <remarks>This example requires no command line arguments.</remarks>
12 Function
Main() As Integer
13 Dim rc As Integer =
Examples.GALIL_EXAMPLE_OK
17 Console.WriteLine(ex.Message)
21 Console.Write(vbCrLf + "Press any key to close the example.")
GCLIB_DLL_EXPORTED GReturn GCALL GListServers(GCStringOut servers, GSize servers_len)
Uses GUtility(), G_UTIL_GCAPS_LIST_SERVERS to provide a list of all available gcaps services on the l...
GCLIB_DLL_EXPORTED GReturn GCALL GSetServer(GCStringIn server_name)
Uses GUtility(), G_UTIL_GCAPS_SET_SERVER to set the new active server.
void error(GCon g, GReturn rc)
An example of error handling and debugging information.
int Remote_Client()
Demonstrates various uses of GListServers() and GSetServer()