像function GetBatchNo(const mCertifyInt: CertifyInt): BatchNoInfo; stdcall; 这个声明。
请问是说该函数函数名是GetBatchNo,他的参数mCertifyInt是CertifyInt类型的,
这个函数的返回值是BatchNoInfo这个类型。是这个意思吗?参数的类型和返回值的类型如下,请问我要用c++调用的话。该如何在c++里写这个函数指针,来声明这个函数。才能够正确调用哪?// ************************************************************************ //
// Namespace : CertifyInt:CertifyInt
// ************************************************************************ //
CertifyInt = class
private
FcardPassword: WideString; // 购药卡密码
FmedCardNo: WideString; // 购药卡号
published
property cardPassword: WideString read FcardPassword write FcardPassword;
property medCardNo: WideString read FmedCardNo write FmedCardNo;
end;
// ************************************************************************ //
// Namespace : BatchNoInfo:BatchNoInfo
// 批单信息
// ************************************************************************ //
BatchNoInfo = class
private
FstateFlag: WideString; //0-返回成功,1-返回失败,2-未授权
FserialNo: WideString; //返回识别该批单号的交易流水号,必须在药店数据库中永久保存
FbatchNo: WideString; //返回的批单号
published
property stateFlag: WideString read FstateFlag write FstateFlag;
property serialNo: WideString read FserialNo write FserialNo;
property batchNo: WideString read FbatchNo write FbatchNo;
end;
请问是说该函数函数名是GetBatchNo,他的参数mCertifyInt是CertifyInt类型的,
这个函数的返回值是BatchNoInfo这个类型。是这个意思吗?参数的类型和返回值的类型如下,请问我要用c++调用的话。该如何在c++里写这个函数指针,来声明这个函数。才能够正确调用哪?// ************************************************************************ //
// Namespace : CertifyInt:CertifyInt
// ************************************************************************ //
CertifyInt = class
private
FcardPassword: WideString; // 购药卡密码
FmedCardNo: WideString; // 购药卡号
published
property cardPassword: WideString read FcardPassword write FcardPassword;
property medCardNo: WideString read FmedCardNo write FmedCardNo;
end;
// ************************************************************************ //
// Namespace : BatchNoInfo:BatchNoInfo
// 批单信息
// ************************************************************************ //
BatchNoInfo = class
private
FstateFlag: WideString; //0-返回成功,1-返回失败,2-未授权
FserialNo: WideString; //返回识别该批单号的交易流水号,必须在药店数据库中永久保存
FbatchNo: WideString; //返回的批单号
published
property stateFlag: WideString read FstateFlag write FstateFlag;
property serialNo: WideString read FserialNo write FserialNo;
property batchNo: WideString read FbatchNo write FbatchNo;
end;
解决方案 »
- ffmpeg新版本的Delphi版本最新函数声明及相关内容那里有
- 怎么把这个页面打开
- 有什么好的算法可以实现类似基因遗传?
- 我用idhttp来从网页获取登陆时候的信息,但是老是出现<em></em>标记,该怎么解决
- 急救啊(在线等) 日期和时间怎么混在一块?
- zswang版主请解释一下这个程序,多谢!!!
- sql的image自段问题?
- dbgrideh在改变列宽时, 当某行显示的内容其列宽不能满足时如何实现自动换行?谢谢!
- 请教:如何利用数据库中的当前记录与当前记录的上一日记录计算出其他字段记录?
- 比较菜的StringGrid的问题
- Intraweb模板使用之后控件事件不再响应
- 请教大家一个问题:在线考试系统中操作题如何实现,不只是office软件,像Photoshop等怎么实现,谢谢!
要不你就转用record类型