Jump to content

Uwe Raabe

Members
  • Content Count

    2545
  • Joined

  • Last visited

  • Days Won

    147

Everything posted by Uwe Raabe

  1. Several parts of the included Delphi units make use of ZLib, but that is not the root of your problem. The real question is: why does the compiler want to compile Delphi units in the first place. This can happen when the Delphi source folders are part of the search path. So I suggest you inspect the Delphi library paths for any references to $(BDS)\Source and remove those.
  2. Uwe Raabe

    Parnassus Bookmarks for Delphi 11 Alexandria?

    The plugins are integrated in the IDE and thus inherited the DPI support of the IDE. Although there are ways to make mixed DPI happen, that still needs developer capacity to implement.
  3. Uwe Raabe

    Parnassus Bookmarks for Delphi 11 Alexandria?

    It seems that these plugins don't have a high enough priority to get the necessary resources attached. It is expected that there will be High DPI issues. As there are still plenty of similar issues in the IDE, I can understand which ones they target first.
  4. Of course, that could be done. IMHO it is just a bit less elegant.
  5. Come on! It is not that bad when we use a class helper: type TCookieManagerHelper = class helper for TCookieManager private function GetCookiesAsString: string; procedure SetCookiesAsString(const Value: string); public property CookiesAsString: string read GetCookiesAsString write SetCookiesAsString; end; function TCookieManagerHelper.GetCookiesAsString: string; var lst: TStringList; begin lst := TStringList.Create(); try for var cookie in Cookies do lst.Add(cookie.GetServerCookie); Result := lst.CommaText; finally lst.Free; end; end; procedure TCookieManagerHelper.SetCookiesAsString(const Value: string); var lst: TStringList; begin lst := TStringList.Create(); try lst.CommaText := Value; for var S in lst do begin var uri := Default(TURI); var cookie := TCookie.Create(S, uri); uri.ComposeURI('', '', '', cookie.Domain.Substring(1), 0, cookie.Path, nil, ''); AddServerCookie(cookie, uri); end; finally lst.Free; end; end;
  6. Uwe Raabe

    How to set "WelcomePageFile" property in *.dproj?

    If we are talking about the same thing AFAIK it is called project page and it is accessible in the project menu.
  7. Uwe Raabe

    FB-3 Update Sql

    Then you should limit the WHERE clause to that condition. Currently the WHERE clause updates all records in DELIVERY_DETAIL where there exists a record in ORDERDETAIL with the same LINENO - probably that are all records.
  8. Well, I cannot see what db is in the exe path and what tables it contains. The $(RUN) variable is simply expanded to the path of the exe file. So the cause of your problem is most likely the db found in that folder. Note that the $(RUN) expansion will only give correct results at runtime and not while in the designer.
  9. That is because you give a ConnectionDefName: The given value is the name of an entry in the definition file with the required values for that connection. My first question was targeting exactly that, simply because you gave most of the entries in your code as well - so why the def name. If you remove this assignment in your code as well as in the object inspector of the connection, this message should disappear.
  10. You showed a screenshot of the Object Inspector for the TFDConnection. There can be seen the Params.Database value with c:\temp\drivers.db. Change that to $(RUN)\Drivers.db and your program will look for Drivers.db in the folder where the exe is. (I don't know how to explain it better.)
  11. Set Params.Database to $(RUN)\Drivers.db
  12. What are the settings in the connection definition with name Drivers?
  13. Uwe Raabe

    DunitX run code after all tests have run

    Wouldn't adding a derived logger with that implementation be a more straight forward approach? Otherwise any registered logger derived from TDUnitXNullLogger would trigger that print out.
  14. You can even link the database into the exe as a resource and write it to disk if it doesn't exist.
  15. How much of paid work can you put aside to write it yourself?
  16. Uwe Raabe

    adding license

    There is a German blog post describing the whole process: Offline Installation und Aktivierung von Delphi, C++Builder und RAD Studio Perhaps you will get the points with a translation to English.
  17. Uwe Raabe

    difference .optset and .dproj file

    Option sets are fine when the same settings are to be applied to different projects. For a standalone project anything possible with option sets is also possible with build configurations.
  18. Uwe Raabe

    Delphi Version in profile

    Why? The other updates from previous versions (like 10.4.2, 10.3.3 or 10.2.3) are not selectable either. The list contains major versions only.
  19. Uwe Raabe

    difference .optset and .dproj file

    Are you able to achieve the desired results with separate build configurations? I'm sorry, but I still don't understand what your actual problem is.
  20. 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
  21. Uwe Raabe

    opendialog.initaldir

    This is expected and even documented (see Windows7 item 1):
  22. 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.
  23. Only when you compile with packages.
  24. Make sure to add the unit containing the TDataModule to the (at least the implementation) uses clause of your form unit.
  25. Uwe Raabe

    Project Build Groups

    Indeed, they broke it. I voted for you QP report. 👍
×