Solved

Delphi 7 - Indy 9 SSL problem

Posted on 2007-04-06
10
4,768 Views
Last Modified: 2013-11-23
I'm using delphi 7 with indy 9, the problem is when i try to put IdSSLIOHandlerSocketOpenSSL object to my form. When i run the aplication i get this:

[Fatal Error] Unit1.pas(8): File not found: 'IdIOHandlerStack.dcu'
[Fatal Error] Unit1.pas(8): File not found: 'IdSSL.dcu'
etc....

All other indy object like IdHTTP are working good. My Libary Path is setup for
"C:\Program Files\Programs\Borland Delphi7\Indy 9 for Delphi 7\LibD7"

I serched my hard disk and i didn't find this files, why is that why they are not included in delphi 9 ?

Please help me with this, thank you.


unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, IdBaseComponent, IdComponent, IdIOHandler, IdIOHandlerSocket,
  IdIOHandlerStack, IdSSL, IdSSLOpenSSL;

type
  TForm1 = class(TForm)
    IdSSLIOHandlerSocketOpenSSL1: TIdSSLIOHandlerSocketOpenSSL;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

end.
0
Comment
Question by:DelphiHelpPlease
  • 5
  • 4
10 Comments
 

Author Comment

by:DelphiHelpPlease
ID: 18868771
Can anyone answer me please ?
0
 
LVL 28

Accepted Solution

by:
2266180 earned 500 total points
ID: 18868866
you should learn to have patience. consider the fact that some experts (including myself) will not bother reading a question that already has answers because there is a high possibility that the question was answered. also, posting in your question will not move it on the top as on other forums because the questions are sorted by question date not post/comment date.

now, to your problem.

where did you get that piece of code from? indy 9 does not have such units. and neither does indy 8. so this is eitehr a very old example or a very new one, with indy 10. indy is *very* different from major version to major version. so eitehr use the correct indy version, or use the correct units.

you can look at 2 examples of indy 9 with SSL on my site, here: http://www.ciuly.com/delphi/indy/
I strongly recommend reading all what I've written there including the link in red!!!

cheers
0
 

Author Comment

by:DelphiHelpPlease
ID: 18869772
I have reinstaled delphi and problem is solved.

Thank you
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 28

Expert Comment

by:2266180
ID: 18869793
well, in this case, post a request in community support to delete the question ;)
0
 

Author Comment

by:DelphiHelpPlease
ID: 18869975
No need for it, you help me i little :)
0
 
LVL 28

Expert Comment

by:2266180
ID: 18869981
no C. please. do ask in community support for a delete. C grades make my reputation bad.
0
 

Author Comment

by:DelphiHelpPlease
ID: 18871647
Can i change it somehow to A ?
0
 
LVL 28

Expert Comment

by:2266180
ID: 18871754
well if you want to, yes. but that still means to ask in community support, but this time to reopen the question so you can accept again. I really don't mind if you delete it though. I have plenty of points, I just try to keep my received grades as high as possible, and of course, earning them in the process ;)
0
 
LVL 28

Expert Comment

by:2266180
ID: 18903927
any news?
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question