C#初始化银海医保接口的问题
初始化接口的时候一直报错,找了很久原因都弄不明白,希望有高手帮忙看看怎么回事。代码如下:
报错的截图:

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报错的截图:

...全文
相关推荐
银海医保接口调用演示程序
努力很长时间终于解决了银海医保接口在.NET里面调用问题。已测试成功! 供大家参考! 1.开发平台VisualStudio 2010 2..NET 框架版本 4.0 3.开发语言 C# 欢迎大家合作。 @@:1483947237
C#版银海社保系统连接实例
1、实现C#初始化医保连接 2、封装医保接口调用业务方法 3、实现签到并获取医院信息
银海医保接口演示-下载即用.zip
源码直接下载地址: https://pan.quark.cn/s/cfd8790bf362 历经长时间的持续探索,最终成功攻克了银海医保接口在.NET环境下的调用难题。经过反复验证,确认该方案完全可行!现将此经验分享给大家,以供借鉴!具体配置信息如下:1. 开发环境为Visual Studio 20102. 使用的.NET框架版本为4.03. 程序开发所采用的语言为C#。诚邀各位同仁进行合作交流。@@:1483947237
成都市医保支付接口规范V3.090225.doc
成都市医保支付接口规范V3.090225.doc 共开发者参考
yh_interface.rar_yh_interface_yh_interface.dll_医保_医保调用dll
编程资料医保调用到实用新型dll,适用于各种开发语言整合一起的医保调用控件


