如何将WebSnap或Web broker程序改成IntraWeb程序?
------------------------------------------------
为什么D7还用WebSnap或Web broker?
因为D7帮助里说“IntraWeb is a powerful tool for developing Web server applications all by itself. Still, there are some things it can't do alone, like create CGI applications”。
所以为了做CGI,那么我们从WebSnap做起吧:
步骤:
------------------
1,File|New|WebSnap|WebSnap Application
2,Internet页|WebDispatcher1
3,IW Control|IWModualController1
4,删除所有的 PageProducer,替换为 IWPageProcucer1.
5,File|New|Other|IntraWeb|Page Form
6,双击IWPageProducer1写:
  VForm := TformMain.Create(AWebApplication);7,WebModual声明部分加入:
  uses IWApplication, IWPageForm,Unit2;
8,如果编译通过则按照Delphi7 Help的“Editing the main form”
帮助主题继续设计你的HomePage!
-------------------------------------------------
各位高人请指点,如果我想做ISAPI/NSAPI,那么直接
5,File|New|Other|IntraWeb|Page Form
就可以了吗?  更多内容请参考这里:
  Using IntraWeb Page Mode with WebSnap - by John Kaster  http://community.borland.com/article/0,1410,28593,00.html  希望共同探讨!  Delphi是我老婆!

解决方案 »

  1.   

    收藏先!Delphi是你老婆?那我爱你老婆!嘻嘻嘻,不要生气
      

  2.   

    那不行,哈哈,Delphi是你老婆,呵呵
    我想拿Delphi做个人主页,但没有免费的支持cgi的网站,而且我主页可能需要数据库支持,那Delphi7 IntraWeb不能做HTM格式的网页吗?,昨天用WebSnap,IntraWeb按如上步骤做了个程序后按CTRL+F9,生成了个Unit1.htm,这是什么?------------------------------------------------------
    怎样用Delphi IntraWeb做支持数据库的免费个人主页?
    ------------------------------------------------------大家发表意见!!!