Tips about Coding a Login Box

The CIMPLICITY Global Parameter LOGIN_INTERFACE provides the name of the Automation Interface implemented by your Automation Server.

The Automation Server may be:

  • In-process ( e.g. an OCX) or
  • Out of process (e.g. and EXE.)

The Automation Interface must provide an implementation for the following method:

In Visual C++ the definition would be:

BOOL DoLogin(BSTR* Project, BSTR* UserId, BSTR* Password)

Where Is
Project Input The name of the project to log in to.
UserId Output The user id supplied.
Password Output The password supplied.
The Return Value is:
True If the User Id and Password are supplied
False If the user has quit trying to login.

In the case of a failed login, DoLogin will be called again.