Solved

LibIntf + C++Builder3?

Posted on 1998-06-16
7
320 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_
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 
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 200 total points
ID: 1353155
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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