API-Dokumentation
>
Miscellaneous
>
Object ProWchar
> Function ProWcharSizeVerify
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
>
ProError
ProWcharSizeVerify
(
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_ERROR
Both sizes are the same.
PRO_TK_GENERAL_ERROR
The sizes are different.
Sample Code References
pt_examples ( TestMain.c )
pt_geardesign ( GearDesign.c )
pt_install_cxx ( TestInstall.cxx )
pt_install_test ( TestInstall.c )
User Guide References
Checking Your Declaration of wchar_t:ProWcharSizeVerify
Wide Strings:ProWcharSizeVerify
Equivalent Pro/DEVELOP Functions:ProWcharSizeVerify
War dies hilfreich?
Diese Website funktioniert am besten, wenn JavaScript aktiviert ist.