EssCreateApplication

Description

EssCreateApplication() creates a new application, either on the client or the server. If the application is created on the server, it is also started.

Syntax

ESS_FUNC_M EssCreateApplication (hCtx, AppName);
ESS_HCTX_ThCtx
ESS_STR_TAppName

Parameters

hCtxEssbase API context handle.
AppNameName of application to create. Application names can be 8 characters long, and can contain all special characters allowed in DOS file names. No spaces, commas, tabs, slashes, backslashes, or periods are allowed. The use of some special characters is not recommended because they are often used by the operating system (for example, @, $, %, and &).

Return Value

None.

Notes

Access

For a server application, the caller must have Application Create/Delete/Edit privilege (ESS_PRIV_APPCREATE).

Example

ESS_FUNC_M
ESS_CreateApp (ESS_HCTX_T  hCtx)
{
   ESS_FUNC_M        sts = ESS_STS_NOERR;
   ESS_STR_T        AppName;
   AppName = "Sample";
   sts = EssCreateApplication (hCtx, AppName);
   return(sts);
}

See Also

EssCreateStorageTypedApplication()
EssCreateDatabase()
EssCreateObject()