Unicode

KT
Kresten Tolstrup
Thu, Jul 5, 2018 2:38 PM

Hello PJSIP

I have downloaded PJSIP for VS2015, we have an ARM SDK, I have changed the target to our SDK. I think that the PJSIP lib that I need has compiled.

Then I have created my own project, where I use the PJSIP lib. It can compile, bur not link, I get the error:

error LNK2019: unresolved external symbol CreateFileA referenced in function pj_file_open
And a lot more similar errors where the function name ends on a A

In the file coredll.lib which is included in the SDK is only CreateFileW. W is Unicode and A is char or what ever it is called.
How do I compile PJSIP for Unicode, so that it will call the W-functions ?

Best Regards
Kresten Tolstrup
Danphone A/S

Hello PJSIP I have downloaded PJSIP for VS2015, we have an ARM SDK, I have changed the target to our SDK. I think that the PJSIP lib that I need has compiled. Then I have created my own project, where I use the PJSIP lib. It can compile, bur not link, I get the error: error LNK2019: unresolved external symbol CreateFileA referenced in function pj_file_open And a lot more similar errors where the function name ends on a A In the file coredll.lib which is included in the SDK is only CreateFileW. W is Unicode and A is char or what ever it is called. How do I compile PJSIP for Unicode, so that it will call the W-functions ? Best Regards Kresten Tolstrup Danphone A/S