Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


FPiette last won the day on December 22 2020

FPiette had the most liked content!

Community Reputation

192 Excellent

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. FPiette

    Is there any way to install delphi 10.4 package into Delphi 10.3?

    You have to recompile the 10.4 package source code with 10.3 hoping that the code doesn't use any new feature.
  2. FPiette

    Do bug fix patches really require active subscription?

    That is at least partly wrong. Google can found a page or file only if the is a link to it or it is submitted to Google or is a the file each website has for all robots. Google has no way to find the existence of a file not mentioned anywhere. In HTTP, a directory cannot be listed. Now that the link has been mentioned in this forum, it could be indexed by Google (No idea if this forum is indexed by Google).
  3. Not an issue with Windows 10 Pro: I use it (64 bits) all the time with all updates installed. Is your Windows up-to-date (Verify optional updates, latest release is Version 20H2). Did you had any issue while installing Delphi? Try running "as administrator". Try disabling any security product (Anti-virus or other. Do'nt forget to re-enable it quickly after test and before connecting to the Internet).
  4. FPiette

    Several F2084 Internal Error on Delphi 10.4.2

    I suspect someone did those "invisible" (Spaces) changes inadvertently and put it in version control making it to appears in the patch.
  5. FPiette

    Several F2084 Internal Error on Delphi 10.4.2

    I would add patches in the order of publication date.
  6. FPiette

    Main screen tab error

    I have no "documentation.htm" file anywhere in C:\Program Files (x86)\Embarcadero\Studio\21.0 and subfolders.
  7. FPiette

    Modified property in vcl Xe builder

    You want to check if the modification has been done using TMemIniFile properties or methods, or do you want to check for modification done outside of your application, for example when someone change the associated file using NotePad.
  8. FPiette

    Modified property in vcl Xe builder

    Which kind of file? For which purpose? You can consider using FindFirstChangeNotification to get notified when the file changes.
  9. FPiette

    Help Understanding SQL Parameters Utilization

    @Gary MugfordI was talking about the string constant "ZZ" and not the Checkbox named xZZ. I tried to say that yoyr SQL request built with Delphi code is OK and DO NOT suffer of SQL injection risk. I was trying to say that if instead of the constant "ZZ" you want to use a value from a TEdit, then suddenly your code becomes at SQL injection risk and to avoid it you have to use a parametrized SQL request.
  10. FPiette

    Help Understanding SQL Parameters Utilization

    This website is in English. Please translate to English before posting.
  11. FPiette

    Help Understanding SQL Parameters Utilization

    SQL injection is not something you - as programmer - do, it is something you prevent. It comes from having a SQL query constructed using strings entered by the user. The query you show which is built by code doesn't seems to use data entered by the user. So no problem. If - as an example - the constant "ZZ" must be changed by something coming from the user interface, then use a parameter. You'll have to make the same condition where you'll give a value to the parameter to avoid giving a parameter if the parameter doesn't exists because it is not part of the query because of the condition evaluated to FALSE. Using the same condition around parameter value assignment will solve your problem.
  12. FPiette

    Show a FMX form inside a dll from a VCL application

    IMO it is not a good idea to start learning FMX by a project mixing VCL and FMX! If you need to run on Windows and mobile, the choice with Delphi and native application is FMX framework. Another possibility is to create a frontend web application (UI) and a backend application. In that architecture, you can write the backend with VCL and the frontend (UI written in HTML, CSS and JavaScript) will run in a browser on both Windows and Mobile. This will require a lot of effort to port your current application to that architecture. Embarcadero RadServer is designed for that kind of architecture.
  13. FPiette

    Show a FMX form inside a dll from a VCL application

    @dkounalAll I can says is that my code works for what I am doing with it. In the link @Remy Lebeaugave, it is stated that it is legal but full of traps. What I do is very simple in the relationship between the VCL exe and the FMX dll but probably doing more complex things require more code. The question you have to ask yourself is "Why in the first place do I need FMX?". In my case, FMX offer 3D model rendering and animation incredibly easy. I did a quick test and it worked fine. The VCL part was required because I already had huge VCL code for the everything else in the application.
  14. FPiette

    Show a FMX form inside a dll from a VCL application

    @dkounalI have done this kind of code: In a DLL, a single FMX form showing and animating a 3D model. The DLL is loaded by a VCL application and parented to a TPanel. Everything works nice and easy except one thing: When the VCL application closes, it hangs if the FMX DLL is unloaded (FreeLibrary). I simple didn't unload the DLL which is not a problem since the DLL is an Add-on that has the same life time as the main VCL application. Anyway Window unload the DLL by itself.
  15. According to the error message, you have not compiled package IcsVclCB102Design.dpk package or if you compiled it, there is an error in path somewhere and the IDE doesn't find it.