Solved

Installing new component

Posted on 1998-12-13
13
142 Views
Last Modified: 2010-04-04
Hello i like to ask you a question.

When i'am installing a new component then comes up in the code USES OLE2,??? i can' install because this is stoping it..
what can i do to install my component ?

Regards
emiltor.
0
Comment
Question by:emiltor
[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
  • 6
  • 4
  • 3
13 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1350848
Seems that the component is written for Delphi 2...
Simplest way is to copy the content of the "c:\delphi\lib\delphi2" into the "c:\delphi\lib" directoy. You could also add the ole2 unit from the "c:\delphi\lib\delphi2" directory to the dpk file. Or you add the "c:\delphi\lib\delphi2" directory to delphi's search path.

Regards, Madshi.
0
 
LVL 3

Expert Comment

by:philipleighs
ID: 1350849
Or you could try replacing "uses OLE2" with "uses ActiveX" and with a little luck it might work.
0
 
LVL 3

Expert Comment

by:philipleighs
ID: 1350850
Or you could remove "uses OLE2" and see what identifier the compiler complains about, and then search for a definition of it in the vcl, and add that file to the uses clause.
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!

 

Author Comment

by:emiltor
ID: 1350851
Thanks........ That helps..
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1350852
To whom do you want to give the points?
0
 

Author Comment

by:emiltor
ID: 1350853
both
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1350854
That's not possible. You have to decide...  :-)
0
 

Author Comment

by:emiltor
ID: 1350855
You get the points Madashi..........
0
 
LVL 20

Accepted Solution

by:
Madshi earned 20 total points
ID: 1350856
Thank you, emiltor. Sorry to Philip...   :-)
0
 

Author Comment

by:emiltor
ID: 1350857
Adjusted points to 20
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1350858
And a 5 points bonus! Thanx...  :-)
0
 
LVL 3

Expert Comment

by:philipleighs
ID: 1350859
Madshi,

No hard feelings, you were in first.
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1350860
:-)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

615 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