Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • 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
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.

 
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

Featured Post

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!

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