Delphi 7 Indy 9 multithreaded HTTP Server. Delphi 7 Indy 10 ioHandler. Trying to make a simple IRC client for personal use so I installed Delphi 7 and Indy 10, note that I haven’t done any work in delphi for 10 (?) years and even then it wasn’t that advanced. Free Download. KMPlayer Video Player Free Download. Thyme – macOS Timer.
推荐: 很多朋友一定象我一样需要一个可以自己定制的HTTP代理程序,受到论坛里面的LXM365朋友的启发(在此感谢一下!),发现利用DELPHI7 的INDY控件IdMappedPortTcp可以做成 领取地址: I need a simple code sample for Indy 10 Http Server When request (post) simply displays it Is there an Indy 9 sample for this? Thanks 24.1k 19 125 284 asked Aug 20 '11 at 10:04 54 1 1 3 5 so what is it? Indy 10 or Indy 9? – Aug 20 '11 at 11:40 You can look it at ExtPascal sources – Aug 20 '11 at 12:00 2 Answers 2. Start a new VCL Forms project.
Drop a TidHTTPServer component onto the Form. Double-click the form to create an OnCreate event and activate the server IdHTTPServer1.Active:= True;. Back on the form, select the HTTP Server component, and create an OnCommandGet event In this OnCommandGet event (which is called within a child thread whenever a GET/POST occurs), handle the request, by populating the response. AResponseInfo.ContentText:= 'My First Response' + 'Command: ' + ARequestInfo.Command + 'Host: ' + ARequestInfo.Host + 'URI: ' + ARequestInfo.URI + 'UserAgent: ' + ARequestInfo.UserAgent + '; Depending on your Delphi version, you may also have to add IdContext to your Uses clause Run your demo app and then launch a browser to and you should get a response. (Unless you have something else listening on Port 80 in which case your demo app will generate an exception) answered Aug 26 '11 at 3:03 5,475 2 29 55 Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox. Please click the link in the confirmation email to activate your subscription.
The are still available on the IndyProject site and include an HTTPServer demo project. The does as well. In IdHTTPServer, Get and Post commands are essentially treated the same and handled in the CommandGet event. answered Aug 20 '11 at 23:55 13.3k 5 40 64 推荐: 笔者在前一段的工作中,需要开发一套简单的网络数据传输程序。由于平时常用Delphi做点开发,故此次也不例外。Delphi 7中带有两套TCP Socket组件:Indy Socket组.
Hi, I can upgrade to indy 10 in delphi 7. But I have discover that indy 9 and Indy 10 have some different properties, so i had to change my old programs that were made in indy 9 to upgrade it to new version, but it is a long work. So I want to know if it is possible to install in the same delphi 7 both versions indy 10 and indy 9.
I have tried to do it but i received a error message: Cannot load package 'IndySystem70'. It contains unit 'IdWinSock2', which is also contained in package 'Indy70'. Some can give me ideas or a link to read how to install both versions. Thanks in advance IVO. Wrote in message news:[email protected].
I have discover that indy 9 and Indy 10 have some different properties Indy 9 and 10 are not compatible with each other at all. Indy 10 was a major re-write, and thus has different internal architectures than Indy 9 had. So I want to know if it is possible to install in the same delphi 7 both versions indy 10 and indy 9. Technically yes, but not easily. You would have to have both versions installed but disabled globally, and then enable one or the other (not both) on a per-project basis as needed. I have tried to do it but i received a error message: Cannot load package 'IndySystem70'.
It contains unit 'IdWinSock2'which is also contained in package 'Indy70'. You cannot have both versions active in the same project at the same time. Remy Lebeau (TeamB).
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |