Questions tagged [indy-9]

Indy 9 is a reference to a specific version of Indy.

Indy 9 is a reference to a specific version of .

57 questions
2
votes
2 answers

VirtualTreeView add roots with Threads

I would like to add roots to a VirtualTreeView http://www.delphi-gems.com/index.php/controls/virtual-treeview with a thread like this: function AddRoot ( p : TForm1 ) : Integer; stdcall; begin p.VirtualStringTree1.AddChild(NIL); end; var …
Ben
  • 3,380
  • 2
  • 44
  • 98
2
votes
1 answer

Delphi Indy IdUdpClient read operation, No data returned

I need to read the information that is sent by an electronic device (using UDP protocol). I am having problems using Indy components (version 9) in Delphi 7. Below you can see my code. procedure TForm1.Button1Click(Sender: TObject); var buffer:…
user1361263
  • 101
  • 2
  • 5
  • 11
1
vote
1 answer

How can I get just the expiry date of a domain name using Indy in Delphi 10.3.3 Pro?

How can I get just the expiry date of a domain name using Indy's TIdWhois component? I don't want to get the full WHOIS data, but only the expiry date. I used this code: IdWhois1.Host:= edit1.Text; memo1.Lines.Text := IdWhois1.WhoIs…
MrSiMo
  • 101
  • 7
1
vote
5 answers

Can my program use Indy 10 at a customer site if I wrote it to use Indy 9?

I have written a program in Delphi 7 (includes a ModBus component that uses Indy). On my machine it uses Indy 9 and works fine. It communicates well with other machines via a ModBus protocol. However, when the program is run on a different machine,…
1
vote
1 answer

Indy SMTP Server and Telnet

I have been fooling about with the SMTP client and server components in Indy 9 using demos with Delphi 7. Everything works fine. However, when I telnet into the server, the demo shows only the email subject and mail body, the From: and To: fields…
1
vote
1 answer

Delphi Redirect SSL tcp data to other port no ssl

I am working with D5 ( thats a fact ). I have Indy9 installed. I'm trying to receive data of IdMappedPortTCP on port 8041 (SSL) and redirect the data to a Tserversocket on port 8040. So I will have support of SSL over Tserversocket. I use the…
delphifive
  • 83
  • 1
  • 8
1
vote
1 answer

Write the Indy 10 of Delphi Codes's to C ++ Builder's Indy 10

I am new to learn C ++ Builder. Three days ago, I installed Embarcadero®. C++Builder® 2010. This language is very interesting for me to learn. In Delphi, I generally write a simple proxy-server using TIdMappedPortTCP of Indy 9 and 10. I usually use…
RzV
  • 51
  • 2
  • 9
1
vote
1 answer

Delphi 7 and Indy 9 writing data from TCPServer

I have a Delphi program which sits as a server receiving data and sending back small acknowledgement packets. I previously used this code (edited for brevity) procedure TdmServer.OnExecuteTCPServer(AThread: TIdPeerThread); var IncomingPacket :…
Kate
  • 13
  • 3
1
vote
2 answers

How to use component from the old indy9 package

I have upgraded Indy9 to Indy10 in Delphi7. Took some time for me to change all the parts with TCP servers and clients but seems like it works nice now. Now, i noticed one part is still not working, and thats idHTTPserver component. Our applications…
user1651105
  • 1,727
  • 4
  • 25
  • 45
1
vote
1 answer

Indy v9 in Delphi 7 - how to extract readable text portion of TIDMessagePart.Body when ContentType is not text/plain

I am trying to extract the readable portion of the Body.Text property of a TIDMessagePart object that is type TIDText. Something like the code below. However if ContentType of the TIDText message part is not text/plain, but is rather text/html, this…
1
vote
1 answer

Delphi Indy 9 Server Ports

I always worked with indy 9 and Delphi 7. I have quite experience with it now and but would like to go a little bit further. I would like to listen to multiple ports and don't know how I should do this. There are also concerns if I will be able to…
Ben
  • 3,380
  • 2
  • 44
  • 98
1
vote
1 answer

Indy sending file and close open handle(s)

I use this code to send a file to a client. procedure TForm1.IdTCPServer1Execute(AThread: TIdPeerThread); var hFile : THandle; FileBuff : array [0..1023] of byte; dwRead : DWORD; Recieved : String; begin Recieved :=…
Ben
  • 3,380
  • 2
  • 44
  • 98
1
vote
1 answer

IndyHandle to TIDPEERTHREAD

I am using Indy9 with Delphi7. I would like to cast an Longword (Athread.Handle) back to an TIDPEERTHREAD Pointer. Is there a way how I could do this? Or is there any other way I could "store" the Pointer to a Longword? Thank you in Advance.
Ben
  • 3,380
  • 2
  • 44
  • 98
0
votes
2 answers

Indy9 Get Raw Email header?

Does Indy9 have any way to get a specific raw email header (say, "Subject" or "From") which still includes the transfer-encoding (ie: has not been mangled by DecodeHeader on older versions of Delphi with poor Unicode support), or would I have to…
Jessica Brown
  • 8,222
  • 7
  • 46
  • 82
0
votes
2 answers

How can I put images in the body of a message in delphi 7?

I am working with sending mails through the smtp protocol using the Indy idMessage object in delphi 7 (therefore the Indy version is 9). I was sending messages in html format without problems, but now I would like to embed an image in the body of…
Lucho
  • 51
  • 1
  • 6