Jump to content

FPiette

Members
  • Content Count

    1120
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by FPiette

  1. That's what I have done and it works. The trick is to use an empty template and then from WM_INITDIALOG create a parented Delphi VCL form.
  2. FPiette

    Memory Leak when loading/unloading Delphi DLL

    You should probably enter a bug report at https://quality.embarcadero.com. Don't forget to attach your MSVC test program (Entire solution) and the Delphi DLL complete project. with a good report, chances are that it is tested quickly. Once the report is created, provide the link here.
  3. A Delphi VCL form is a standard window. It is probably possible to overload a dialogbox control using a parented Delphi form. That's what I'm trying to do to begin.
  4. Maybe because even if you write a note in the readme file, the user keep asking for a package with his specific version number ? Or just because they always have done so 😉
  5. FPiette

    Project options. Version info. Language

    That is related to InfoVersion that can be displayed by Windows when you right-click on a file and select properties. Windows tries to display the InfoVersion in the current language. If it doesn't exists (You may create InforVersion in different language), then it will display the default one.
  6. Shouldn't this be done using conditional compilation in source code?
  7. I don't grab what you mean. Can you give an example of customization?
  8. FPiette

    Current subscription required to download ?

    OK. And which version did you buy? Without active update subscription, you can download only what you bought.
  9. FPiette

    New Installation of Rad Studio 10.2 (Tokyo)

    Maybe you missed it, but the problem is solved:
  10. That would be really cool! I suggest using JSON because it is widely used nowadays and ICS contains a JSON builder/parser (OverbyteIcsSuperObject.pas taken from https://github.com/hgourvest/superobject).
  11. I create a lot of components using ICS and I never had this problem. I always add ICS source code to whatever component/application I create and never use run time packages. And by the way, ICS exist for the last 27 years and no one ever asked to change package naming. This being said, I'm not against it. It is just that I have better use of my spare time 😉 Try to convince Angus which does almost all changes for several years now. I'm sure he read this.
  12. FPiette

    Recomnended Email and Webserver Components

    ICS (Internet Component Suite) will do everything you ask. ICS is freeware with full source code. If you need help for using ICS, there is a dedicated forum on this website : https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
  13. FPiette

    Need a "Delphi programming guideline"

    I have this document : http://wiki.overbyte.be/arch/IcsMidwareCodingStyle.pdf It partially answer your request.
  14. FPiette

    Better way to maintain a list in a database table??

    I forgot to say there is a standard for log file: SysLog. And there are provision to send the lines (Events) to a SysLog server using the Syslog protocol (RFC5424). I even wrote a pair of ICS components for that purpose: TSysLogServer and TSysLogClient. Those component allows to have a centralized, remote management system for the log. There are two corresponding demos in ICS. Look at the source code because documentation is almost non existent. Ask for your question in https://en.delphipraxis.net/forum/37-ics-internet-component-suite/
  15. FPiette

    Better way to maintain a list in a database table??

    Depending on what you need to do with the log (For example searching), you may simply use a text file and append the line at the end of the file. That is how most log files are built. If you are running on Windows, you may also use the Windows Event Log feature for which there is an API. And of course using a database is also an option. How to select between those solution and probably other depends on your use case that you don't describe at all...
  16. FPiette

    DNS Query & Lookup Synced

    If you are using ICS within a worker thread, you have to create a message pump. See the sample applications delivered with ICS there are several showing how to use a message pump which is not Application.ProcessMessages.
  17. You have to tell it that the answer is wrong and why it is wrong, not ask the same question. Each time you say it is wrong, you get a new answer which finally is a correct answer, at least when I asked a program using ICS.
  18. You can tell ChatGPT that it gave a bad answer and what is wrong in his answer. ChatGPT will then provide another answer. Sometimes you have to tell it the answer is wrong and finally it gives the right one. That's funny.
  19. You are building for Win64. This is incorrect for design time package. Change the target to Win32. If you are not using the build groups then you have to do that manually (Design time packages are ALWAYS targeted as Win32). Better use the build group to have the correct target automatically selected. 1. Open D110InstallVclFmx project group. 2. Show "Projects window" Ctrl+Alt+F11. 3. Click on "Show Build Groups pane" button in the projects windows toolbar. 4. In build groups pane, select "VCL and FMX" as active group. 5. Click "Build the current build group" in the build groups pane toolbar. BTW: Be sure to post your messages in English. Use Google Translate if you need to.
  20. Uninstall the package you got from GetIT (This is not frequently up-to-date) and follow the instructions in Readme8.txt in the daily zip (Or from the subversion repository). In short: Installation is just compile the packages for your Delphi version. There is a folder in the zip file containing group project for various compilers. For Delphi 10.4, open D104InstallVclFmx.groupproj and compile all projects and install all design time packages. For ease of use you may add source and source\include folders to the IDE search path.
  21. FPiette

    DNS Query & Lookup Synced

    Well, those are old functions that I was convinced to write. I assure you there are side effects that can be annoying (If you click on a button while a "Sync" function is working, the button event handler is called and could cause reentrancy issues if you do take care of it) if you don't master how Windows messaging system work. I keep the old "Sync" functions to preserve compatibility with old code peoples are still using (You may know that ICS is 26 years old and most if not all code written by then is still working unchanged).
  22. FPiette

    Windows Extensions SDK in Delphi VCL

    What is the exact error you get? In your code, did you test every possible error return?
×