$(BCB)\Source\ToolsAPI
to your search paths for the package. ( In case you have Pro. or Ent. versions
of BCB )
Good luck,
Boian
Robby Gebauer wrote:
> I cannot install them in the IDE.
>
> Rob'
>
> Rudy Velthuis (TeamB) <rvel...@gmx.de> schrieb in im Newsbeitrag:
> 8tvj95$d9...@bornews.borland.com...
> > Robby Gebauer wrote...
> >
> > >I downloaded some components, but I cannot compile them. I get an error
> > >message: "File not found: DsgnIntf.dcu". I found a file dsgnintf.hpp on
> my
> > >HD, but not dsgnintf.pas. I use BCB5 std. Who can help?
> >
> > You should be able to install them in the IDE. If you can't compile them
> > into your program, that is because dsgnintf is only available in the
> > design time packages for the IDE. The writer of the component should have
> > segregated his runtime and design time code into separate units. Only the
> > runtime unit is required in runtime code, both units are required in the
> > IDE.
> >
> > So if you can't do that yourself, using the source, you're out of luck.
> > --
> > Rudy Velthuis (TeamB) http://delphi-jedi.org
> >
> > Use Borland servers; TeamB don't see posts via ISPs
> > http://www.borland.com/newsgroups/genl_faqs.html
Thanks in advance
Rob'
>I downloaded some components, but I cannot compile them. I get an error
>message: "File not found: DsgnIntf.dcu". I found a file dsgnintf.hpp on my
>HD, but not dsgnintf.pas. I use BCB5 std. Who can help?
You should be able to install them in the IDE. If you can't compile them
Rob'
Rudy Velthuis (TeamB) <rvel...@gmx.de> schrieb in im Newsbeitrag:
8tvj95$d9...@bornews.borland.com...
>I cannot install them in the IDE.
Why not, exactly? Do you have compiled files that have a different
version, or did you forget to include (require) VCL50 in the package?
Please copy the exact error message(s) you get (you can save the message
list to a file, via the context menu -- copy it from the file into your
newsreader).
this path is in the list, but I have no such directory on my HD. I use BCB
5 Standard. Do I need the Pro. or Ent. edition for that files?
Rob'
Boian Mitov <mi...@mitov.com> schrieb in im Newsbeitrag:
3A037A9B...@mitov.com...
> Add :
>
> $(BCB)\Source\ToolsAPI
>
> to your search paths for the package. ( In case you have Pro. or Ent.
versions
> of BCB )
>
> Good luck,
> Boian
>
>
> Robby Gebauer wrote:
>
> > I cannot install them in the IDE.
> >
> > Rob'
> >
> > Rudy Velthuis (TeamB) <rvel...@gmx.de> schrieb in im Newsbeitrag:
> > 8tvj95$d9...@bornews.borland.com...
> > > Robby Gebauer wrote...
> > >
> > > >I downloaded some components, but I cannot compile them. I get an
error
> > > >message: "File not found: DsgnIntf.dcu". I found a file dsgnintf.hpp
on
> > my
> > > >HD, but not dsgnintf.pas. I use BCB5 std. Who can help?
> > >
> > > You should be able to install them in the IDE. If you can't compile
them
> > > into your program, that is because dsgnintf is only available in the
> > > design time packages for the IDE. The writer of the component should
have
> > > segregated his runtime and design time code into separate units. Only
the
> > > runtime unit is required in runtime code, both units are required in
the
> > > IDE.
> > >
> > > So if you can't do that yourself, using the source, you're out of
luck.
here comes the exact error msg (in german, sorry):
[Pascal Fataler Fehler] abfComponentsReg.pas(32): Datei nicht gefunden:
'DsgnIntf.dcu'
Rob'
Rudy Velthuis (TeamB) <rvel...@gmx.de> schrieb in im Newsbeitrag:
8u0iib$mf...@bornews.borland.com...
> Robby Gebauer wrote...
>
> >I cannot install them in the IDE.
>
> Why not, exactly? Do you have compiled files that have a different
> version, or did you forget to include (require) VCL50 in the package?
>
> Please copy the exact error message(s) you get (you can save the message
> list to a file, via the context menu -- copy it from the file into your
> newsreader).
>Hi Rudy,
>
>here comes the exact error msg (in german, sorry):
>
>[Pascal Fataler Fehler] abfComponentsReg.pas(32): Datei nicht gefunden:
>'DsgnIntf.dcu'
It looks like abfComponentsReg.pas is a unit especially meant for
registering the components (a name like xxxReg is often used for this).
This unit should probably not be used at runtime. I guess there are a few
other units which contain the runtime code. Include these only.
Only use abfComponentsReg.pas to install the components. Use the other
units for your runtime code.
BTW, German is fine. I live in Germany.
> I downloaded some components, but I cannot compile them. I get an error
> message: "File not found: DsgnIntf.dcu". I found a file dsgnintf.hpp on my
> HD, but not dsgnintf.pas. I use BCB5 std. Who can help?
>
I think you may need to compile Delphi5\Source\Toolsapi\DsgnIntf.pas
(dcc32.exe is free and OK) and put resulting DCU (i.e. DsgnIntf.dcu) in
CBuilder5\Lib folder .
Good Luck.
Jingwen Wang.
>I think you may need to compile Delphi5\Source\Toolsapi\DsgnIntf.pas
>(dcc32.exe is free and OK) and put resulting DCU (i.e. DsgnIntf.dcu) in
>CBuilder5\Lib folder .
Actually, no. That is not a good idea. First, the source doesn't come
with the Standard version, and second, this will probably disappear as
well in the next release of Delphi and BCB.
Components should be developed thus, that design-time-only code and run-
time code are well separated. DsgnIntf will probably only be available in
the IDE, not in the runtime libraries anymore, not even in source code.
This is AFAIK described in the readme.txt file that comes with BCB 5 (I
know it is described in the Delphi 5 readme).
Yes the file is not included in the standard version. I have sent yo the
files compiled to .dcu and .obj as attachment via e-mail Let me know if you
don't get them.
Hope that it helps,
Boian
Robby Gebauer wrote:
> Hi Boian,
>
> this path is in the list, but I have no such directory on my HD. I use BCB
> 5 Standard. Do I need the Pro. or Ent. edition for that files?
>
> Rob'
>
> Boian Mitov <mi...@mitov.com> schrieb in im Newsbeitrag:
> 3A037A9B...@mitov.com...
> > Add :
> >
> > $(BCB)\Source\ToolsAPI
> >
> > to your search paths for the package. ( In case you have Pro. or Ent.
> versions
> > of BCB )
> >
> > Good luck,
> > Boian
> >
> >
> > Robby Gebauer wrote:
> >
> > > I cannot install them in the IDE.
> > >
> > > Rob'
> > >
> > > Rudy Velthuis (TeamB) <rvel...@gmx.de> schrieb in im Newsbeitrag:
> > > 8tvj95$d9...@bornews.borland.com...
> > > > Robby Gebauer wrote...
> > > >
> > > > >I downloaded some components, but I cannot compile them. I get an
> error
> > > > >message: "File not found: DsgnIntf.dcu". I found a file dsgnintf.hpp
> on
> > > my
> > > > >HD, but not dsgnintf.pas. I use BCB5 std. Who can help?
> > > >
> > > > You should be able to install them in the IDE. If you can't compile
> them
> > > > into your program, that is because dsgnintf is only available in the
> > > > design time packages for the IDE. The writer of the component should
> have
> > > > segregated his runtime and design time code into separate units. Only
> the
> > > > runtime unit is required in runtime code, both units are required in
> the
> > > > IDE.
> > > >
> > > > So if you can't do that yourself, using the source, you're out of
> luck.
> Yes the file is not included in the standard version. I have sent yo the
>files compiled to .dcu and .obj as attachment via e-mail Let me know if you
>don't get them.
Bojan, please read your readme.txt, license.txt and deploy.txt files. You
are not allowed to distribute the compiled dsgnintf.dcu or dsgnintf.obj
files.
I will be more careful in the future, or as the ol' Billy Gates, will continue
to do the bad stuff, but will destroy the evidence ;-)
Thanks,
Boian
> Thanks Rudy,
>
> I will be more careful in the future, or as the ol' Billy Gates, will continue
>to do the bad stuff, but will destroy the evidence ;-)
Better do the good stuff only.
<PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUvcl50"/>
This will tell the pascal compiler that that code is in vcl50 and is the
equivalent of adding a requires for C++ components. In BCB5 the DsgnIntf
binaries are in that package. BCB6 will probably either see the unit totally
gone or moved into a design time package.
Robby Gebauer wrote:
>
> Hi Rudy,
>
> here comes the exact error msg (in german, sorry):
>
> [Pascal Fataler Fehler] abfComponentsReg.pas(32): Datei nicht gefunden:
> 'DsgnIntf.dcu'
>
> Rob'
>
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
The fool escaped from paradise will look over his shoulder and cry
Sit and chew on daffodils and struggle to answer why?
As you grow up and leave the playground
Where you kissed your Prince and found your frog
Remember the jester that showed you tears, the script for tears. (Fish)
Greetings,
Julio
>I have read may references to this problema and still don't catch it
>thoroughly. Is there an article or tutorial with examples where
>separation of designtime and runtime code is shown?
It's quite simple. Any classes or functions that are only executed at
design-time should be put in a separate unit (which can use the run-time
unit). Examples of classes are component and property editors, etc., but
also IDE experts, and so on. Functions are RegisterPropertyEditor and
friends. When installing a component, you must add this to the package,
as well as the run-time code (since the component runs in the IDE).
What remains is code that does not need dsgnintf or any of the other
design time units xxxintf. This is the run-time code, which your programs
should use.
Original Borland Help (sorry, but I have it only in German):
Kompilierung von Packages mit DsgnIntf
Die compilierte Version der Unit DsgnIntf.dcu ist im Lieferumfang von
C++Builder (bzw. Delphi) nicht mehr enthalten. Um mit Hilfe dieser Unit
Entwurfszeit-Packages zu compilieren, müssen Sie in den Optionen für das
Projekt des betreffenden Package die PFLAGS-Option -LUvcl50 aufnehmen. Um
die Projektoptionen zu editieren, wählen Sie im Hauptmenü der IDE den Befehl
Projekt / Optionquelle bearbeiten. Fügen Sie dann bei der Eingabe des Wertes
für PFLAGS die Option -LUvcl50 hinzu. Beispiel:
<PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUvcl50"/>
Diese Maßnahme war notwendig, weil die Runtime-Redistribution von
DsgnIntf.dcu der Lizenzvereinbarung widersprach.
Markus