Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Installing new component

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
emiltor
Asked:
emiltor
  • 6
  • 4
  • 3
1 Solution
 
MadshiCommented:
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
 
philipleighsCommented:
Or you could try replacing "uses OLE2" with "uses ActiveX" and with a little luck it might work.
0
 
philipleighsCommented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 
emiltorAuthor Commented:
Thanks........ That helps..
0
 
MadshiCommented:
To whom do you want to give the points?
0
 
emiltorAuthor Commented:
both
0
 
MadshiCommented:
That's not possible. You have to decide...  :-)
0
 
emiltorAuthor Commented:
You get the points Madashi..........
0
 
MadshiCommented:
Thank you, emiltor. Sorry to Philip...   :-)
0
 
emiltorAuthor Commented:
Adjusted points to 20
0
 
MadshiCommented:
And a 5 points bonus! Thanx...  :-)
0
 
philipleighsCommented:
Madshi,

No hard feelings, you were in first.
0
 
MadshiCommented:
:-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 6
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now