![]() |
delphi prism include directive
Does anybody know how to use the {$include <filename> directive in delphi prism (oxygen)
We tried it to no avail Chuck |
AW: delphi prism include directive
Include is not supported in Oxygene (or any other .NET language).
Why do you want to use it? There may be other ways (Partial classes, outsourcing into sattelite assemblies etc) to achieve the same goal. |
AW: delphi prism include directive
Hi Sebastian,
we want to use it because of .... We use our code on "both sides", win32 delphi and prism. In general this works quite nicely, but there are some inconveniences. The one we would like the include for is the "public class" problem. There is no way to tell prism that all classes in the interface are public, so we have to write {$ifdef prism) public ($endif) class xyz =class(base) except of the extra text, no problem but..... the delphi code formatter can't handle that, in units using above ifdef, format is totally destroyed when using format code if we could have put above ifdef.... in an include file, delphi is fine Two wishes, that could make prism even better option to make all things implicit public in the interface option to ignore destructors and maybe the possibility to use enumeration values without the type prefix, as it is possible in Delphi Chuck P.s. Where is the right place to post reports about bugs/ameliorations in prism/shineon |
AW: delphi prism include directive
Either in Embarcadero's QC, or via mail to support@remobjects.com.
Latter is faster and will be screened and if you kindly ask for feedback i'm pretty sure you will be informed on how the decisions are going. Update: ShineOn is opensource, so you can extend it as you like. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:49 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz