Skip to main content
12-Amethyst
August 4, 2023
Solved

Is there a way to change the ProPath data type to wchar_t?

  • August 4, 2023
  • 1 reply
  • 1204 views

It's the hardest to change the data type while developing it
Is there a function that changes the ProPath type to wchar_t?

In addition to this, if you know the function of changing the data type, I would appreciate it if you could recommend it

 

Best answer by FabianWolf

ProPath is a wchar_t array with the size of PRO_PATH_SIZE characters, see its definition:

 

typedef wchar_t ProPath[PRO_PATH_SIZE];

 

So, you can pass a ProPath variable wherever a wchar_t* input type is required.

1 reply

14-Alexandrite
August 4, 2023

ProPath is a wchar_t array with the size of PRO_PATH_SIZE characters, see its definition:

 

typedef wchar_t ProPath[PRO_PATH_SIZE];

 

So, you can pass a ProPath variable wherever a wchar_t* input type is required.