ICE
Strawberry_ahh
这个作者很懒,什么都没留下…
展开
-
04-ice客户端
1、ice文件#include <Ice/Identity.ice> module ServiceModule{ // 建立连接结构 class IConnectInfo { ["cpp:type:wstring"] string ID; }; class IReturnInfo { // 是否成功 bool IsSuccess; // 信息 ["cpp:type:wstring"] string Info; };原创 2020-06-10 21:00:04 · 309 阅读 · 0 评论 -
03-ice服务端
最近用到了ice,所以简单记录下。编写ice文件1、编写Ice 应用的第一步是要编写一个Slice 定义,其中含有应用所用的各个接口。我的测试ice文件如下:#include <Ice/Identity.ice> module ServiceModule{ // 建立连接结构 class IConnectInfo { ["cpp:type:wstring"] string ID; }; class IReturnInfo { bool IsSucce原创 2020-06-10 20:45:41 · 390 阅读 · 0 评论 -
02-ice项目创建
此文章只是用来自己学习。环境介绍系统:win10ice版本:3.6.1创建步骤1、新建一个控制台应用程序。2、添加ice.dll的引用,在zeroC安装目录下可找到。本机目录:E:\Program Files (x86)\ZeroC\Ice-3.6.1\Assemblies3、通过NuGet安装icebuilder。4、项目-属性-icebuilder,设置文件输出路径5、添加一个ice文件,可任意命名(我在demo中命名为Services.ice).6、重新生成项目,即可看到编译后原创 2020-06-09 23:21:30 · 420 阅读 · 0 评论 -
01-ZeroC官网下载ICE步骤
官网地址:https://zeroc.com/1、点击下载ICE2、点击 windows3、若没有反应,则进行如下操作:(1)使用IE浏览器打卡网页(2)设置兼容性视图(3)点击【添加】,再点击【关闭】。点击【关闭】后页面会自动更新。(4)选择【windows】,跳转到下载界面,进行下载。4、参考:https://blog.csdn.net/qq_28875681...原创 2019-05-06 11:08:09 · 2501 阅读 · 0 评论