在三层结构中如何调用SocketConnection接口参数?

luckyboy97 2003-10-15 05:23:06
如题,望大家帮助!谢谢!分不够在加
...全文
53 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
bertchen 2004-01-05
  • 打赏
  • 举报
回复
AppServer provides read-only access to the interface returned by the application server抯 remote data module (a descendant of IAppServer). If the remote data module is not a SOAP data module, client applications can communicate directly with the application server through this interface.

To call this interface, you must obtain a dispatch interface from this Variant. The dispatch interface has the same name as the application server抯 interface, but with the string 揇isp?appended. Thus, if the remote data module in the application server is called MyAppServer, you can use AppServer to call its interface as follows:

IDispatch* disp = (IDispatch*)(MyConnection->AppServer)

IMyAppServerDisp TempInterface( (IMyAppServer*)disp);

TempInterface.SpecialMethod(x,y);
书生 2003-12-11
  • 打赏
  • 举报
回复
哈哈,楼主你牛。
cuiyu616ok 2003-12-11
  • 打赏
  • 举报
回复
luckyboy97 2003-10-18
  • 打赏
  • 举报
回复
我已经解决了,你们在靠不住
ljianq 2003-10-17
  • 打赏
  • 举报
回复
通过TSocketConnection的AppServer,具体实现在它的帮助中有代码。
luckyboy97 2003-10-17
  • 打赏
  • 举报
回复
我知道在中间层定义,我是问怎么调用中间层定义的中间层的方法参数
cyg1dm 2003-10-15
  • 打赏
  • 举报
回复
中间层自己定义

1,178

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 数据库及相关技术
社区管理员
  • 数据库及相关技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧