Solved

Delphi 7 - Indy 9 SSL problem

Posted on 2007-04-06
10
4,675 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:
ciuly 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:ciuly
ID: 18869793
well, in this case, post a request in community support to delete the question ;)
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

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

Expert Comment

by:ciuly
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:ciuly
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:ciuly
ID: 18903927
any news?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

18 Experts available now in Live!

Get 1:1 Help Now