Foxtable(狐表)用户栏目专家坐堂 → [求助]引用dll的问题


  共有1532人关注过本帖树形打印复制链接

主题:[求助]引用dll的问题

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/15 10:15:00 [显示全部帖子]

1、把dll复制到Foxtable的安装目录,然后引用:http://www.foxtable.com/webhelp/topics/1936.htm
2、把代码转换为vb:https://converter.telerik.com/,放到命令窗口运行即可

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/15 10:17:00 [显示全部帖子]

添加引用即可,不需要管引用里的命名空间

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/15 10:35:00 [显示全部帖子]

    Dim jsParam As  New JObject()
    jsParam.Add("appId", "8edd25b7f74f44a7bff1e9f2af49c930")
    jsParam.Add("taskId", "20181109000000")
    jsParam.Add("companyCode", "0144")
    Dim dataJson As  New JObject()
    dataJson.Add("sourceNo", "14982119232461189")
    jsParam.Add("dataJson", dataJson)
    msgbox(reabamsdkopenapi.sign.getSignJson(jsParam, "285e11c1e83a4094b35cc3cf320ad820"))

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  4楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/15 10:56:00 [显示全部帖子]

参考这里设置:
http://foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=137401&replyID=11825&skin=1

……
        <bindingRedirect oldVersion="4.0.20191.359" newVersion="4.0.20183.338" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json"
          publicKeyToken="30ad4fe6b2a6aeed"
          culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0" newVersion="12.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
……

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  5楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107783 积分:548260 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/15 11:40:00 [显示全部帖子]

试了一下,没有办法,他这个dll引用的Newtonsoft.Json版本太老,而且还是没有签名的版本。建议联系对方看看能不能发布一个引用比较新的Newtonsoft.Json版本的dll

 回到顶部