Jump to content

Uwe Raabe

Members
  • Content Count

    2883
  • Joined

  • Last visited

  • Days Won

    169

Everything posted by Uwe Raabe

  1. I don't know, but having packages besides pas and/or dcu files can be necessary (or just convenient) when compiling with packages. Especially when libraries are not provided with all source files (not sure about this one), you need the bpl/dcp files. You can find more information about that in this blog post: Appercept’s New AWS SDK For Delphi, Available With RAD Studio And Delphi Enterprise and Architect
  2. Uwe Raabe

    opendialog.initaldir

    This is expected and even documented (see Windows7 item 1):
  3. No. Probably you even cannot if these packages are compiled as runtime-only. In fact you will rarely have a need to compile your application with any designtime package unless the author missed to separate the designtime part from the runtime part. Note, that you have to deploy all directly and indirectly used runtime packages with your application if you compile it with runtime packages. To better answer your question: The DCP file for a BPL package is what you reference in the requires section of a package project file. It allows the using package to see all the units inside the package and f.i. link to the contained routines. The DCP itself also contains the name of the BPL file - usually with the LIBSUFFIX. The difference of a unit contained in a DCP file and a DCU file is that the DCU is linked into the compiled package or application, while the DCP provides the entry points to the BPL.
  4. Only when you compile with packages.
  5. Make sure to add the unit containing the TDataModule to the (at least the implementation) uses clause of your form unit.
  6. Uwe Raabe

    Project Build Groups

    Indeed, they broke it. I voted for you QP report. 👍
  7. Seems you didn't look close enough: ModelMaker IDE Integration Expert Mind the note:
  8. Uwe Raabe

    Project Build Groups

    I do! I actually blogged about it: Do you know Build Groups? There you can find instructions to solve your problem.
  9. My approach to these types of problems is to add a record helper for the enumeration that handles the conversion from and to Integer. type TDDArrangementId = (daOutstanding, daWeeklyGap, daAmount, daGapAmount); TDDArrangementIdHelper = record helper for TDDArrangementId private function GetAsInteger: Integer; procedure SetAsInteger(const Value: Integer); public property AsInteger: Integer read GetAsInteger write SetAsInteger; end; function TDDArrangementIdHelper.GetAsInteger: Integer; begin Result := Ord(Succ(Self)); end; procedure TDDArrangementIdHelper.SetAsInteger(const Value: Integer); begin Self := TDDArrangementId(Pred(Value)); end; The usage would then look like this: var myVar: TDDArrangementId; begin myVar.AsInteger := 1; Assert(myVar = daOutstanding); Inc(myVar); Assert(myVar = daWeeklyGap); Assert(myVar.AsInteger = 2); end.
  10. Uwe Raabe

    New encodings in editor?

    Well, it does. Binary is just - binary, whatever encoding was inside that binary is preserved. All text formats are stored in the encoding you select.
  11. Uwe Raabe

    Lost Code Format Menu option....

    File a QP report.
  12. Uwe Raabe

    Lost Code Format Menu option....

    The menu entry has been moved to View - Editor.
  13. Uwe Raabe

    Windows Dayligthsaving problem

    You are working too much...
  14. Uwe Raabe

    Windows Dayligthsaving problem

    You simply cannot. If that were possible, the NTFS handling wouldn't have to be implemented in the first place.
  15. Uwe Raabe

    New encodings in editor?

    Binary shows the file content as hex values and you can even edit it. Dropping f.i. a dcu file into the editor makes it pretty clear.
  16. Finally: Announcing the Availability of RAD Studio 11.1 Alexandria
  17. Uwe Raabe

    Windows Dayligthsaving problem

    It depends on whether the drive is formatted as NTFS or FAT32. See https://docs.microsoft.com/en-us/windows/win32/sysinfo/file-times
  18. Uwe Raabe

    Delphi 11.1 Provisioning Access Violation

    Instead of posting all these messages here without any comment or question, you should better directly file a report at https://quality.embarcadero.com/ Honestly, what do you expect us to do with all this?
  19. Uwe Raabe

    Loading data from dfm

    FCaptionsAdded is created in procedure NewStrings, which itself is calle in CreateWnd. The loading process happens way before the window is created, so there is no instance of FCaptionsAdded during loading. Best is to create all instances of the fields inside the class in its Create routine and free them in Destroy.
  20. Uwe Raabe

    Loading data from dfm

    Me too. Perhaps showing your code can shed some light on it.
  21. Uwe Raabe

    Trial RAD 11 expired Delphi CE is 10.x

    The Community Edition in regard to features and limitations is equal to a Professional Edition. The explicit CE restrictions are the version number and the revenue limit or the limit of five developers in the company. One should note that the term revenue means the overall revenue of the company, not only the revenue the company makes with Delphi programming. Anyway, if you are unsure in the details it might be better to ask Embarcadero directly.
  22. Uwe Raabe

    Trial RAD 11 expired Delphi CE is 10.x

    That should be read as: "The CE license is always valid for the most recent CE version." It means, you can't use it for a previous CE version.
  23. Yes. Command line options are: -S select structural diff (default) -F select file diff -D:<Delphi version> selects language mode. Accepted values: 10, 10.1 .. 10.5 (yeah, I know) for Seattle to Alexandria <left file> <right file> Indeed, that is an oversight. It tries to open mmsdvmanual.pdf, but I couldn't get a copy from Gerrit as I had hoped. I will disable that entry in the next release until some documentation is available.
  24. Uwe Raabe

    Trial RAD 11 expired Delphi CE is 10.x

    Indeed - and it is intended.
×