?
Solved

Delphi 7 - Indy 9 SSL problem

Posted on 2007-04-06
10
Medium Priority
?
5,014 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 2000 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
Independent Software Vendors: 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

764 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