API Documentation > Windchill servers > Object ProServer > Function ProServerAliasedURLToURL
Function ProServerAliasedURLToURL
Description
Converts an an aliased url (wtpub://alias/etc/p.prt) suitable for use in functions like ProMdlLoad to an unaliased URL (http://windchillserver.ptc.com/etc).
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerAliasedURLToURL
(
wchar_t* aliased_url
/* (In)
The aliased URL.
*/
wchar_t** url
/* (Out)
The unaliased URL. Free this string using ProWstringFree(). If the server is in offline mode url will be null string.
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The server listed in the given aliased URL is not registered in session.
If any other error occures.
If the server is in offline mode.
User Guide References
Was this helpful?