当前位置:编程学习 > 网站相关 >>

关于C#开发Tuxedo,求助

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,求助呀, c# Tuxedo
补充:企业软件 ,  中间件
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,