company logo

Client :: ~Client - Destructor

When destructing the client the client disconnects from the server. When disconnecting the main client (the first client that has been opened in the application) services as error messages and data catalog are disabled (until another client is constructed, which becomes the main client again).

int __cdecl main(void)

{

  ODABAClient      client("E:/Sample.ini","Sample");

//  .... processing

  client.ShutDown();

  return(0);

}

Implementation details

Client  :: ~Client (  )