public static class HTCSP_RSA_ST extends Structure{
public HTCSP_RSA_PUB_ST ht_RSA_pub_st;
public HTCSP_RSA_PRI_ST ht_RSA_pri_st;public static class ByValue extends HTCSP_RSA_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PUB_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;public static class ByValue extends HTCSP_RSA_PUB_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PUB_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PRI_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;
public byte[] byexponent;
public byte[][] byprime;
public byte[][] byprimeExponent;
public byte[] bycoefficient;public static class ByValue extends HTCSP_RSA_PRI_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PRI_ST implements
Structure.ByReference {
}
}
以上是结构体其中HTCSP_RSA_ST 中的属性为其他2个结构体
HTCSP_RSA_ST.ByReference phtcsp_rsa_st = new HTCSP_RSA_ST.ByReference();
在调用时报错java.lang.IllegalStateException: Array fields must be initialized
为什么new不出来?求助
public HTCSP_RSA_PUB_ST ht_RSA_pub_st;
public HTCSP_RSA_PRI_ST ht_RSA_pri_st;public static class ByValue extends HTCSP_RSA_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PUB_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;public static class ByValue extends HTCSP_RSA_PUB_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PUB_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PRI_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;
public byte[] byexponent;
public byte[][] byprime;
public byte[][] byprimeExponent;
public byte[] bycoefficient;public static class ByValue extends HTCSP_RSA_PRI_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PRI_ST implements
Structure.ByReference {
}
}
以上是结构体其中HTCSP_RSA_ST 中的属性为其他2个结构体
HTCSP_RSA_ST.ByReference phtcsp_rsa_st = new HTCSP_RSA_ST.ByReference();
在调用时报错java.lang.IllegalStateException: Array fields must be initialized
为什么new不出来?求助
解决方案 »
- 精心整理各种编程语言包括项目的视频教程和大家分享
- spring(quartz)定时器无法运行
- 窃窃的问下displaytag 和 dwr 可以做无刷新删除分页等操作吗?
- 分享JAVA6.0&DotNet精品视频教程下载
- 192.168.*的内网IP怎么进行远程调ejb的bean啊?
- 为什么我用ibatis存储数据的时候会中文乱码?
- 急,是高手进来看看小弟的这个问题吧!!!
- 请问:手动写的bpel流程(简单的,顺序结构)可以直接导入执行引擎吗?能执行吗?
- 用户请求为什么一定要给ActionServlet处理?
- 怎么用有状态session bean保存购物车的信息?
- ibatis的插入语句怎么写啊?我的为什么老报错
- jdk配置问题
主类不能申明为static