Conversion of jstring in eVC

Hi,

I am trying to pass a string to a DLL from my Java Code. This string contains the complete path of an application (like iexplorer in Pocket PC).I then have the DLL fire that application but looks like the DLL is not very Happy with the string and gives me an error on execution saying "Cannot Find......" and then I see a bunch of squares. Looks like the DLL is not happy with the encoding of the jstring. Does someone have an idea about how to convert a string to Unicode format in the DLL.

Regards,

[538 byte] By [maheakh] at [2007-9-26 15:21:41]
# 1
Hi,all java.lang.Object-derived parameters are passed to native methods as some kind of handle. You have to use JNI-methods to get the real data.There is a chapter "String Operations" in the JNI-documentation describing how to access Strings from native code.Josef
schachinger at 2007-7-2 18:00:53 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Thanks for the help,I got it done..
maheakh at 2007-7-2 18:00:53 > top of Java-index,Java Mobility Forums,Java ME Technologies...