System.Win.ComServ.TCppActiveXModule

From RAD Studio API Documentation
Jump to: navigation, search

C++

class TCppActiveXModule

Properties

Type Visibility Source Unit Parent
class public System.Win.ComServ.hpp System.Win.ComServ System.Win.ComServ

Description

Defines the terminator of a local COM server using the C++ standard library.

Create an instance of this class to define std::exit(EXIT_SUCCESS) as the terminator of your COM server when it is a local COM server.

For example, you can instantiate this class using a static variable:

static Comserv::TCppActiveXModule activex_module(true);

If your COM server is not local, you can either pass false to the constructor or you can simply not instantiate TCppActiveXModule and not define a terminator.

See Also