I have a native method with following signature
public native Vector dvdls(String filePath)
This function is meant to return, name of all the files and directories in the filePath directory.
Am implementing this native interface in my C program. I have the list of files and directories present in "filePath" in char array. I want to know how to pass this Char array back to Java as a Vector?
Thanks in advance.