Solved

Delphi 7 - Indy 9 SSL problem

Posted on 2007-04-06
10
4,722 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
 
LVL 28

Expert Comment

by:2266180
ID: 18869793
well, in this case, post a request in community support to delete the question ;)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now