Solved

LibIntf + C++Builder3?

Posted on 1998-06-16
7
325 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
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 200 total points
ID: 1353155
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Title # Comments Views Activity
how to center only a line in richedit? 4 69
find a node in VST 2 81
Firemonkey DbLookupComboBox equivalent ? 2 69
Firemonkey Tcameracomponent resultion 1 26
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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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