IntraWeb14 IWStandAloneServer问题

WaveYang 2014-07-09 10:30:09
想自定义服务器外观, 据说在12.1.25后, 需要发一条IWStandAloneServer->Start。
在14的Demo里, 原文为 IWStandAloneServer.Start(TSaServerIndy);
问题是,我不知道怎么改为CB下的句子。
尝试了一下:
TSaServerIndy *svr = new TSaServerIndy(this);
IWStandAloneServer1->Start((TMetaClass*)svr);

可是一执行到Start就报错了。

以下是Atozed的一篇相关文档
If you are using the TIWStandAloneServer, there are some breaking changes in the release 12.1.25 and you need to update your code.
For those using IWStandAloneServer, you must now explicitly call this TIWStandAloneServer.Start,
xMySaServer.Start(TIWHTTPServerModule);
This is only for users using the TIWStandAloneServer component, ie, if you have a Custom Stand Alone server.
There are no changes if you are using the standard Stand Alone Server.
/////////////////////////////////////////////////
请有经验的兄弟姐妹指点一下, 谢谢。
...全文
279 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
new_BCBER 2014-07-17
  • 打赏
  • 举报
回复
请多发一下使用心得, 无情接分!
WaveYang 2014-07-17
  • 打赏
  • 举报
回复
快来个兄弟接分呀~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WaveYang 2014-07-17
  • 打赏
  • 举报
回复
想到一个变通的方法, 将PAS加入CB工程即可。
WaveYang 2014-07-11
  • 打赏
  • 举报
回复
看来都没有什么人用Intraweb了。 哎~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1,316

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 网络及通讯开发
社区管理员
  • 网络及通讯开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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