NewString LPWSTR length
843829Aug 23 2006 — edited Aug 23 2006I have a LPWSTR string, and need to get it into java using (*env)->NewString(env, lpwstr, len)
Problem is, i cannot get the length of the f'er! Whats the quickest method to get the length of the LPWSTR string?
I've looked at that WideToMultiByte crap but i can't make sense of it. Can't wait to finish this part off and be done with C!
(p.s. this needs to be C code, not cpp, so conversion is out)