我的JAVA类
public class Sys {
    public static native String showHDSerial();    static {
        System.loadLibrary("Sys");
    }    public String getHdSer(){
        return showHDSerial();
    }}
C++类Sys.cpp函数名如下
JNIEXPORT   string   JNICALL   Java_Sys_showHDSerial(JNIEnv   *env,   jclass   jcls)   
  { ……    
      }   现在要编译成DLL的DEF文件该怎么写啊,因为我希望有个string返回值从C++函数返回给JAVA