Solved

LibIntf + C++Builder3?

Posted on 1998-06-16
7
312 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now