Linking the Applications
Before you run an existing application in 8.0, link it to the new libraries and the import libraries: ucore.lib and udata.lib. The new libraries do not link the application to the Unicode libraries but use ucore.lib and udata.lib at runtime to resolve the Unicode dependencies, which also reduces the size of the application. Since these libraries are import libraries, the application must resolve Unicode dependencies at runtime by loading the actual libraries ucore64.dll and udata64.dll. These dlls are located at <creo_load_point>/Common Files/<platform>/obj and <creo_load_point>/Common Files/<platform>/lib.
In 8.0.0.0 and later, the DLLs ucore46.dll and udata46.dll are not installed by default. If you need to load applications that are compiled prior to the 7.0 release, you must install the DLLs separately. To download and install these DLLs separately, ensure that the Legacy Toolkit Application Runtime checkbox is selected while installing . If you do not install these DLLs separately, your applications will not work.
|
Note:
|
If you have upgraded to the latest version of , the DLLs are automatically updated and you do not need the old libraries.
|
|
Note:
|
uses International Components for Unicode (ICU) for Unicode support. ICU is an open-source software. PTC is committed to use latest and most secure version of open source software, therefore PTC recommends that applications are re-linked with latest version of .
|
For synchronous applications, the references to ucore64.dll and udata64.dll are resolved by when the application is started.
For asynchronous applications, these references must be resolved by the application. For linking asynchronous applications, add the path where the dlls ucore64.dll and udata64.dll are located, that is<creo_load_point>/Common Files/<platform>/lib to the environment variable PATH.
All the sample makefiles available with use the new libraries. For instance, the sample example make_examples created for applications created for applications contains information on how to use protk_dll_NU.lib. The sample file is located at <creo_toolkit_loadpoint>/<platform>/obj.
Parent topic