Solved

Delphi 7 - Indy 9 SSL problem

Posted on 2007-04-06
10
4,938 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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