in reply to Re^3: wchar_t*, char* and perl XS
in thread wchar_t*, char* and perl XS
Your reply makes me clean up! VS GUI default set code to UNICODE(wide char), but gcc or cl.exe won't. So to me, choice 1 is the best, coz it keeps embeding perl(ANSI) and C CODE consistent.
BTW. for choice 4, personally, I think it's a standard solution of converting wide chars to perl. why nobody modify it a little to suit for importing to perlAPI other than just stay in win32.xs?
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction