BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to seperate design and runtime packages?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Eugene
Guest





PostPosted: Sat May 08, 2004 11:05 pm    Post subject: How to seperate design and runtime packages? Reply with quote




Hi,

I would like to recompile a delphi component in Borland C++
Builder 6.0 but i receive "DsgnIntf.dcu not found" error.I
searched on net and i learnt that i need to seperate design and
runtime package.But i don't know how to do it.
Any comments?

Eugene
Back to top
Ralph Kazemier
Guest





PostPosted: Sun May 09, 2004 3:15 am    Post subject: Re: How to seperate design and runtime packages? Reply with quote




"Eugene" <Eugene (AT) dmx (DOT) de> wrote


Quote:
Any comments?

Put all the code concerning design time issues in a seperate package. These
issues concern:-

- property editors
- component editors
- registering the component(s)


Ralph




Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sun May 09, 2004 5:54 am    Post subject: Re: How to seperate design and runtime packages? Reply with quote



"Eugene" <Eugene (AT) dmx (DOT) de> wrote


Quote:
I would like to recompile a delphi component in Borland
C++ Builder 6.0 but i receive "DsgnIntf.dcu not found"
error.

There is no DsgnIntf unit in BCB6 anymore. It has been renamed to
DesignIntf instead, and then also broken up into additional smaller units,
such as DesignEditors, VCLEditors, etc. as well.

Quote:
I searched on net and i learnt that i need to seperate
design and runtime package.

Although that is true in general, that is not the immediate cause of your
error. You are obviously trying to compile code that is actually designed
for an older pre-VCL6 version of the IDE.


Gambit



Back to top
Eugene
Guest





PostPosted: Sun May 09, 2004 5:52 pm    Post subject: Re: How to seperate design and runtime packages? Reply with quote

So Gambit,

Is there any way to compile my component totally in BCB6? Is
there a quick way to compile and use it? In a BCB help site
says;
Open component and click "edit option source", find the line
pflag line and add -LUvcl50 to line, looks like :
<PFLAGS value="... -LUvcl50"/>
Then save all project and compile.
I changed -LUvcl50 to -LUvcl60 and tried again but then ide
says "Required package 'vcl60' not found".I'm stucked again.
Could you light my way please?

Eugene

"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote:
Quote:

"Eugene" <Eugene (AT) dmx (DOT) de> wrote in message
news:409d67bf$1 (AT) newsgroups (DOT) borland.com...

I would like to recompile a delphi component in Borland
C++ Builder 6.0 but i receive "DsgnIntf.dcu not found"
error.

There is no DsgnIntf unit in BCB6 anymore. It has been renamed to
DesignIntf instead, and then also broken up into additional smaller units,
such as DesignEditors, VCLEditors, etc. as well.

I searched on net and i learnt that i need to seperate
design and runtime package.

Although that is true in general, that is not the immediate cause of your
error. You are obviously trying to compile code that is actually designed
for an older pre-VCL6 version of the IDE.


Gambit




Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon May 10, 2004 2:18 am    Post subject: Re: How to seperate design and runtime packages? Reply with quote


"Eugene" <Eugene (AT) dmx (DOT) de> wrote


Quote:
Is there any way to compile my component totally in BCB6?

Without seeing the actual code, I can only guess at what it is trying todo
based on your earlier comments. If it is doing what I suspect, then you
will have to re-write the code to meet BCB6 requirements first before you
can then compile it.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.