DelphiFAQ Home Search:

Delphi 5: designtime code and runtime code

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

According to Inprise's Readme.txt, DSGNINTF.DCU is no longer
shipped with Delphi. Thus, component developers should consider
segregating design-time code into separate units from runtime
code. Runtime code should not refer to those units.

How can this be accomplished?

Property editors and all design time stuff, including the
registering of the components should be in its own design
time package. That package should require the runtime package
that includes all the components runtime stuff. It should also
require vcl50.bpl which is where the dsgnintf code is currently
residing (that will probably change to dsnidexx.bpl in the
future).
Nowhere in the runtime package should dsgnintf be
referenced. It is just a matter of correctly segrigating the
designtime code from the runtime code. You can't just write
your component and property editors in the same unit.

Distributing the dsgnintf code has always been a violation of
the license agreement. In D4 this caused some problems in
trying to fix some internal IDE code since it was too public
in the past and Borland knew people were not doing things
correctly.


Content-type: text/html

Comments:

2012-06-05, 21:29:30
anonymous from China  
<strong> http://www.coachout..strong> <a href=' http://www.coachout..g>Coach Outlet Online</strong></a><br />
<strong> http://www.coachfac..strong> <a href=' http://www.coachfac..g>Coach Factory</strong></a><br />
<strong> http://www.myloveco..strong> <a href=' http://www.myloveco..g>Coach Outlet Online</strong></a><br />
<strong> http://www.buyincoa..strong> <a href=' http://www.buyincoa..g>Coach Outlet</strong></a><br />
<strong> http://www.cheapcoa..strong> <a href=' http://www.cheapcoa..g>Cheap Coach Handbags</strong></a><br />
<strong> http://www.coachfac..strong> <a href=' http://www.coachfac..g>Coach Factory Outlet</strong></a><br />
<strong> http://www.buycoach..strong> <a href=' http://www.buycoach..g>Coach Outlet Online</strong></a><br />
<strong>www.coachoutletonfactory.net</strong> <a href=' http://www.coachout..g>Coach Factory Outlet</strong></a><br />
<strong>www.coachoutletonline4you.us</strong> <a href=' http://www.coachout..g>Coach Outlet Online</strong></a><br />
<strong>coachfactoryoutletq.net</strong> <a href=' http://www.coachfac..g>Coach Factory</strong></a><br />
<strong>gotocoachoutlets.net</strong> <a href=' http://www.gotocoac..g>Coach Outlet Online</strong></a><br />
2012-11-12, 02:17:25
anonymous from United Kingdom  

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: