delphi7做网页比asp做网页效率快多了(0分)

  • 主题发起人 主题发起人 山泉
  • 开始时间 开始时间
jro_tlb需要Import ActivX中搞定。 就是MicroSoft Jet.....那个东西,
里面有两个组件。
 
程序中,你把相关的JRO_TLB的部分去掉就可以了
因为里面我删除了部分程序,没有清除干净,sorry
 
为什么我没有收到???一定要先给分是吗?
 
为何我一编译,d7就自动退出???
 
1.你是不是安装了 intraweb 5.53以上版本,如果没有请安装
2.还不行的化,选择Project ->compile All Project 看看哪里出错,我这边三台机器都测试可以编译的
 
关于intraweb 一些问题的解答(转) (包括支持ADO等)
Can I develop for Linux?
Yes, using Kylix 2 or 3 you can deploy in standalone mode, or as an Apache DSO.

--------------------------------------------------------------------------------
When I upload my standalone EXE to the webserver and try and access it, the browser prompts me with a Save dialog.
IntraWeb standalone applications are not CGI's. They are standalone executables that have a built-in web server. To access the IW application you need to specify the following URL: http://your_ip_address:port_assigned where port_assigned is the port that is set in the ServerController in your project.

--------------------------------------------------------------------------------

How can I install my IntraWeb application in Apache?
After you have created the DSO, you may find Apache Shared Modules of use. This is an article by Brian Long which includes information on installing Apache DSOs. You can deploy applications you create using Apache Shared Modules on either Win32 or Linux Apache web servers with IntraWeb.
ApacheConf is an inexpensive third party GUI configuration tool for Apache that you may find useful as well.

--------------------------------------------------------------------------------
Is there any way to manage my ISAPI application?
Microsoftdo
es not provide good remote management for ISAPI applications. You may wish to try the ISAPI Loader.

--------------------------------------------------------------------------------


Ido
not have my own server. Are there ISP's that can host IntraWeb applications?

Yes, please see the ISAPI / Servelet host list.

--------------------------------------------------------------------------------

Can I use the IntraWeb web-server as our primary web-server?
It is not recommended. The IntraWeb server provided in the package is a specialized server for running IntraWeb applications only. For web-servers, other products are available such as the Apache web-server that can bedo
wnloaded for both Windows and Linux and is freely available.
If the primary focus of the website is the IntraWeb application, the web-browser can be automatically redirected to the IntraWeb server.
Apache can be redirected by modifying its configuration file. Microsoft IIS can process a redirect by editing adding a virtual directory and redirect in IIS Manager.
Another option is to use an HTML page containing a meta-tag:
<META HTTP-EQUIV="Refresh" CONTENT="x;
URL="http://<server name>:4321/start/<app name>/"">
Where x is the number of seconds to wait in the HEAD section of the HTMLdo
cument such as:
<HTML><HEAD><TITLE>Redirecting to Our Application Server</TITLE><META HTTP-EQUIV="Refresh" CONTENT="3;
URL=http://www.yourcompany.com:4321/FishFact/start"></HEAD><BODY><P>You should be redirected to our application server in three seconds. If you are not redirected, please <A HREF="http://www.yourcompany.com:4321/FishFact/start">follow this link to go to our application server</A>.</P></BODY></HTML>

--------------------------------------------------------------------------------
When deploying as ISAPI, the following error occurs: EOSError with message "System Error. Code: 5. Denied Access".
Delete the cache directory and restart, or grant the cache directory read / write access by IUSR_<machine name> or the user the ISAPI is set to run as.

--------------------------------------------------------------------------------
Do I need a web-server to run IntraWeb?
This answer depends on how you deploy your IntraWeb application.
If you deploy using ISAPI, then
yes you will need a web server which supports ISAPI such as Microsoft IIS or Omni HTTP.
If you deploy using the stand alone method, then
no you will not need a web server because a specialized web-server is provided by IntraWeb. However, most people will want to run it in conjunction with a normal web server to serve static pages and graphics, but this is not required.

--------------------------------------------------------------------------------
Will I have any conflicts with our primary web server?
Web servers run on the default HTTP port 80. Unless the web-server has been configured to run on the IntraWeb application port or vice versa, there will not be any conflicts.

--------------------------------------------------------------------------------
What IP addressesdo
es my IntraWeb server listen on?
IntraWeb servers listen on all of the active IP addresses on the machine unless you manually set the BoundIP property.

--------------------------------------------------------------------------------
How can I install a new IntraWeb program as a service?
Copy the executable file to the destination machine. From a command prompt run the executable with the "-install" parameter. This installs it as a service. Proceed to the Service applet in the Control Panel to set the startup. If running as a standalone application, by just copying it to the destination machine and starting it is sufficient.

--------------------------------------------------------------------------------
How can I update an IntraWeb program after I have deployed it?
First, stop the IntraWeb application service. Upload the newer version and restart the service. If running as a standalone, simply replace the existing file after stopping it, and then
restart the application.

--------------------------------------------------------------------------------
How can I completely remove an IntraWeb service from my server?
Stop the IntraWeb application service. From a command prompt run the executable with the "-uninstall" parameter. Finally, delete the executable.

--------------------------------------------------------------------------------
Can users run an IntraWeb application through their firewalls?
Firewalls normally block unknown ports and only leave commonly used ports open (such as port 80). However, most firewalls allow all HTTP traffic to pass through regardless of what port they use. This isdo
ne by using an HTTP proxy. Therefore, IntraWeb is compatible with nearly all firewalls your users may be using.

--------------------------------------------------------------------------------
Whatdo
Ido
if Ido
not have permission to install my IntraWeb application on Windows NT or Windows 2000?
The IntraWeb applications must be installed from an administrator account. Contact your network administrator.
Note: This is only true for the stand alone versions of IntraWeb. The ISAPI versions can be installed by any user with upload access.

--------------------------------------------------------------------------------
When using the BDE, I get the following error when starting my web application: An error occurred while attempting to initialize the Borland Database Engine (error $2B05)
Please see this article on the Borland Community website.

--------------------------------------------------------------------------------
I am trying to use ADO or some other COM component and I get an error about CoInitialize must be called?
Set the ComInitialization property in your application's server controller.

--------------------------------------------------------------------------------

Why are fonts messed up in some browsers?
Most computers are set for small fonts. Since all rendering is based on the servers representation if a user has large fonts, the rendering will be slightly off. End users should use small fonts, or alternatively the developer should leave sufficient space around each component to compensate for the offset. Large fonts can be used if templates are used.
 
真是羡慕呀!要是哪一天我有这么高的水平就好了!关注!
期待关注我的网站:http://easywnet.yeah.net
 
各位同仁:
本人粗略看了各位的发表,在这也说本人的体会。上面所说的Delphi开发的Web,除了Delphi7
的intraweb没有用之外,已用了Delphi制作Web的好多技术:WebSnap,WebBroker等,总的体
会是:
1、界面难做得好看,需要第三方(例用Frontpag)作为装饰;
2、由于做成的大多是Exe,dll,有一定的局限性,如做成EXE则只能Window下;由于是EXE
DLL速度还可以;
3、对个人申请的的空间,大多没有开放CGI权限,所以用DELPHI做成的WEB根本无法使用,
要开放CGI权限要价又很高,所以倒不如用ASP来得直接,特别是申请Windows服务器的空间,
本人的认为用ASP好,如本人在WWW.HOTHOST.COM申请了超值型空间,加了50元说好要开通
CGI,但好象没有开一样,总是无法使用,而用自已电脑架设的服务器用DELPHI开发的WEB运行
很好。发了好多的EMAIL给WWW.HOTHOST.COM总有没回音,气死人也。
4、总的认为在局网中,由于WEB服务是自己构建,有完全的权限,所以用DELPH的俘WEB技术
完全可以,而完全性非常的好,而申请别人的空间可要三思,以本的经验只有用ASP或PHP或
JSP技术,如不用数据库,更容易。
以上是本人工作的心得。
 
up!
交个朋友:smallsun@sina.com
 
to  山泉
http://www.delphibbs.com/delphibbs/dispq.asp?lid=1494280
来拿分吧
例程请发到
ma_gaofeng@163.com  
 
to  山泉
源代码没有啊,只有一个组件。分先给你了,请你再发一边给我啊
ma_gaofeng@163.com  
 
TO 山泉
有两个项目
hr.dpr的错误:
[Fatal Error] HR.dpr(14): Unit InGlobal was compiled with a different version of System.RTLVersion
tywdserver.dpr的错误:
[Fatal Error] tywdserver.dpr(12): Unit InGlobal was compiled with a different version of System.RTLVersion
我是用D6+IntraWeb 5.0.53编译地
 
山泉兄,怎么会有两个项目文件呢????

楼上的各位兄弟:
你们有没有出现错误啊??
 
hr 没有用,去掉
安装iintrawweb 5.53版本 http://www.datacn.com下载
 
山泉;
一、使用你代码的心得
1。使用的工程是tywdserver
2.必须去掉Templates下的两个网页否则设计界面与运行界面不一致(害得我近一个半点)
3。数据库的代码很有新意emEdit, emInsertem,可惜没有进一步给出更详尽的源码
4。有的用法不是太理解如:
CHR(单元中)
inherited;
<---继承了什么我去掉后,也没什么这是习惯还是另有道理
dmHR.LocalDS.MoveBy(iwgCorp.RowLimit);
运行环境:D7+WIN2000, 不知说的对否请指正
二 新的问题 (可以要分你定)
1。发布时的方法我是先在家里作完(127。0。0。1)然后在绑定要运行机器的IP,然后
编译一下(当然那在本机肯定运行不了喽)你是如何作的呢?
2。打印你是如何解决的,有没有相应的方法(在Intraweb)最好不是调用非DELPHI的办法。
3。应用的效果如何,在使用用户的极限多少,特别是在用户的一些非正常操作情况(如刷
屏、网断)数据库的完整性如何。
三 致谢
感谢你的热心帮助,我回复的邮件是否收到。
说过我曾在交行工作,现在在某商业银行就职,非电脑类工作。我所知道的本单位开
发所使用的工具一色VC(微机类开发), 无人可交流。而且年龄巨老,编程只是枯燥
工作之余的一点爱好而己,对了从不用QQ.
四 一些建议
使用Intraweb出来的程序最大的困难不是技术上的,而是版权上。
它的标识太明显,非正常渠道来源的千万不要随边发售否则麻凡
多多。我曾汉化过它产生的EXE,但效果极不太好(ABOUT的图像
倒是换掉了)。大富翁上的高手不妨一试。
对了向我索要源码的朋友请向作者山泉提请求,你可以参照HUBDOG
的源码(人力资源)它在源码空间上。
 
to 山泉
来拿分吧
http://www.delphibbs.com/delphibbs/dispq.asp?lid=1497775
例子请发到dmk888@21cn.com
 
1.Templates下的两个网页最好不要去调,否则界面就不美观,
因为IWTemplateProcessorHTML控件是指向这两个网页的
也就是 form可以随便设计,form上控件可以随便摆放
但是
Templates 下网页模板的 中定义的formname.html 中form上控件名称在html上标明出来
2.发布时候无需拌定ip,发布时候就是 http://主机地址:端口/start
3.可以编译成dll,就没有版权问题了
 
to 山泉
已经成功地在D7下编译,但是一访问http://127.0.0.1:6382/start
服务程序就自动退出
网页也打不开“无法显示”
 

Similar threads

A
回复
0
查看
932
Andreas Hausladen
A
A
回复
0
查看
805
Andreas Hausladen
A
A
回复
0
查看
655
Andreas Hausladen
A
A
回复
0
查看
834
Andreas Hausladen
A
后退
顶部