TypedFML32 fmlSendBuffer = new TypedFML32(1024);
fmlSendBuffer.Fappend(AllFml.BANK_ID, (Int64)11);
fmlSendBuffer.Fappend(AllFml.CUST_ID, "0027374698", 12);
fmlSendBuffer.Fappend(AllFml.CHRG_MONTH, "000000", 6);
fmlSendBuffer.Fappend(AllFml.SYSTEM_TIME, DateTime.Now.ToString("yyyyMMddHHmmss"), 14);
fmlSendBuffer.Fappend(AllFml.MODE, (Int64)0);
TypedBuffer fmlReceiveBuffer = new TypedFML32(4096);
try
{
ac.tpcall("QUERYFEE", fmlSendBuffer, ref fmlReceiveBuffer, 0);
TypedFML32 recv = (TypedFML32)fmlReceiveBuffer;
object strCode = "";
recv.Fget(AllFml.RTN_CODE, (FLDOCC)11, out strCode);
}
catch (Exception ex)
{
context.Response.Write(ex.Message);
}
finally
{
ac.tpterm();
}
上面是我的代码,可老是在recv.Fget(AllFml.RTN_CODE, (FLDOCC)11, out strCode); 这里抛异常,field no pesent