C#初始化银海医保接口的问题

jcxynpy jcxynpy 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
初始化接口的时候一直报错,找了很久原因都弄不明白,希望有高手帮忙看看怎么回事。代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using yh_interface;
using System.Reflection;


namespace YH
{
public partial class ff : Form
{

// System.Type yh = Type.GetTypeFromProgID("YinHai.SCMYInterface");


// Object yhObject;





public ff()
{
InitializeComponent();
}
//业务接口函数
public static short li_appcode = -1;
public static string ls_appmsg = "";
public static string a = "";

//初始化接口


public static bool JK_Init()
{
COClass_n_yh_interface YH = new COClass_n_yh_interface();
// System.Type yh = Type.GetTypeFromProgID("YinHai.SCMYInterface");


YH.yh_interface_init(a, li_appcode, ls_appmsg);

if (ff.li_appcode >= 0)
{
return true;
}
return false;
}
#region 初始化
private void button1_Click(object sender, EventArgs e)
{
JK_Init();
}
#endregion


报错的截图:
...全文
评论 13
收藏 已收藏
分享
返回顶部
jcxynpy
C# 111,130 成员 642,541 内容