| Description |
| Registers a server in the session given its root location and an alias. NOTE: To automate registration of servers in interactive mode, use the standard config.fld setup to preregister the servers. To ensure that the servers are not preregistered when running Creo Parametric in batch non-graphics mode, set the environment variable PTC_WF_ROOT to an empty directory before starting Creo Parametric. |
| Replacement in Object TOOLKIT: | pfcBaseSession::RegisterServer |
| Synopsis |
| #include <ProWTUtils.h> |
| ProError | ProServerRegister | ( |
| wchar_t* alias | |
| /*
(In) |
| The name used by Creo Parametric to refer to this server. |
| */ |
| wchar_t* location | |
| /*
(In) |
| The root location for the server. |
| */ |
| wchar_t* workspace | |
| /*
(In) |
| The name of the workspace to use. |
| */ |
| wchar_t** aliased_url | |
| /*
(Out) |
| Aliased url for the registered workspace. Free this string using ProWstringFree() |
| */ |
| ) |
| Returns |
|
|