Category Creo Parametric TOOLKIT fundamentals, Object ProWchar

Function ProWcharSizeVerify


Description
Compares the size of wchar_t in the application with the size of wchar_t in Creo Parametric.
Synopsis
#include <ProUtil.h>
ProErrorProWcharSizeVerify(
int application_size_of_wchar
/* (In)
The size of wchar_t in the application. Use sizeof(wchar_t) to get the size.
*/
int* proe_size_of_wchar
/* (Out)
The size of wchar_t in Creo Parametric.
*/
)
Returns
PRO_TK_NO_ERRORBoth sizes are the same.
PRO_TK_GENERAL_ERRORThe sizes are different.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Fundamentals: Checking Your Declaration of wchar_t
  3. Core: Utilities: Wide Strings

Sample Code References:

  1. pt_examples ( TestMain.c )
  2. pt_geardesign ( GearDesign.c )
  3. pt_install_cxx ( TestInstall.cxx )
  4. pt_install_test ( TestInstall.c )