Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

LibIntf + C++Builder3?

Posted on 1998-06-16
7
Medium Priority
?
331 Views
Last Modified: 2010-04-04
Hello there,

------------------------------------------------------------------------------------------
From:         "Kenneth Lewis" <lewiskr@airmail.net>
                                                                 
Hello all,

I have developed a design window under Delphi and have not been able to
compile it into a package
under C++Builder 3.0 because it cannot find the LibIntf.dcu file.

C++Builder 3.0 does have a libintf.hpp and a libintf.int file which shows
the contents of the PAS file but the dcu is no where.  The dsgnwnds.pas file
in the VCL directory references the LibIntf file in the PAS file but the DCU
is no where to be found.

I can compile my design window under C++Builder 1.0, Delphi 2.0 and Delphi
3.0 but I am now stuck without being able to support C++Builder 3.0.

I would appreciate anyones help on this matter.

lewiskr@airmail.net

Thank you

Kenneth Lewis
------------------------------------------------------------------------------------------
There are many questions like this one with no answer on usenet...
I have the same question, anybody did the trick?
0
Comment
Question by:_art_
[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
7 Comments
 
LVL 3

Expert Comment

by:rickpet
ID: 1353149
Libintf is compiled into VCL30.DPL.  You could try create a package that uses this pas file and to force a dcu to be made.

3)File|New->Package call it temp.dpk.

4)remove tab-> remove VCL30.dpl

5) Contains tab->Add libintf.pas

6) Compile the package. Do not install this package...

7)Hunt for your dcu...

Hope this helps...if you have more questions email me at rickpet@airmil.net

Rick
      
0
 
LVL 3

Expert Comment

by:rickpet
ID: 1353150
You may want to backup your delphi dcu's before doing this...

Rick
0
 

Author Comment

by:_art_
ID: 1353151
Nope Rick, it is not exactly it. Even if I'll get compiled DCU I wont be able to use it, especially to distribute,
There should be some other way around...

0
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!

 
LVL 10

Expert Comment

by:Jacco
ID: 1353152
I have had similar problems in Delphi 2.0. My problem was that the compiler complained, when the component was used in a project, that there were duplicate resources. I had to split some units and adjust the uses clauses of the TDesignWindow unit. Maybe that is you problem too:

The LibMain unit may never be in the RunTime library uses (not even indirectly). I believe I solved is by separating the TDesignWindow component from the rest of the source and only put LibMain in the uses clause in the implementation section of that unit.

Regards Jacco
0
 

Author Comment

by:_art_
ID: 1353153
Jacco,

You mean you have had these problems with Delphi 3.0 (cuz Delphi 2.0 does provide
all necessary DCUs). Well, yes, you're right and what you have suggested is the
only way to get rid of this problem in D3 i.e LibIntf should be specified only in uses part of the unit that contains design window itself and this unit should not been placed in uses section of the unit where our component declared but with BCB3 it does not help.
Damn thing asking LibIntf.dcu no matter what... :-(

0
 
LVL 3

Expert Comment

by:rickpet
ID: 1353154
Have you contacted Borland???

I would consider this an oversight...It wouldn't be the first time that they forget to include something on the CD.  You can contact them through the web page...submit this as a bug...

Rick
0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 400 total points
ID: 1353155
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

636 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