Solved

LibIntf + C++Builder3?

Posted on 1998-06-16
7
326 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
Technology Partners: 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

Technology Partners: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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