Jump to content

Javier Tarí

Members
  • Content Count

    67
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Javier Tarí

  1. Javier Tarí

    Using "Claude Code" with Delphi

    Anyone else using the Claude Code software to program in Delphi? I'm not asking about using AI to ask stuff about Delphi (not Claude, not ChatGPT, not Gemini) If you are using Claude Code, please share anything useful for you on the topic My two cents: I'm using with it the Context7 MCP server, which is helpful I've made a "compile" bash command that takes care of compilation I've finally made an agent that uses the command, and returns the result (It helps keeping the context cleaner): Compilation Sucessful Compilation Sucessful but there are warnings that you MUST fix (and the list of warnings) Compilation Error (and the list of the errors) I'm trying to use DelphiLSP.exe through a MCP server, but with low success
  2. IMHO, I believe we should have: * One new subforum about using AI from Delphi (not to help with Delphi coding, but for using AI from our Delphi programs * One new subforum on AI agentic coding in/for Delphi: AIs and agentics frameworks (Claude Code, Codex, Cursor...) and it's use as help with Delphi coding
  3. Javier Tarí

    What new features would you like to see in Delphi 13?

    Make an MCP server that allows to use DelphiLSP.exe to it's maximum extent
  4. Javier Tarí

    What new features would you like to see in Delphi 13?

    Having some kind of AI-handled tab completion straight in the IDE; that makes an immense timesaver
  5. Javier Tarí

    suggestion for 2 new su forum: AI usage and AI coding

    Ok, I'll do that But my personal opinion is: that's a mistake; those topics are already capital, although Delphiers are still sleepy about them
  6. Any idea on how to get the colors used by a Vcl Theme to paint menu backgrounds? StyleServices.GetElementColor(Details,ecFillColor,vColor) does not return them for almost none of TThemedMenu values I can see a PopupMenu using a few background colors, depending on a combination of item selection and enabled state, but can't get them programmatically
  7. Javier Tarí

    Unicode weirdness

    I would just substitute the original characters for their equivalent codes, in the #99 or #$ab format
  8. Javier Tarí

    Huge memory problem

    Excuse my question, but: Are you using a memory table or file based table?
  9. Javier Tarí

    ANN: StyleControls VCL v. 5.11 just  released!

    Which is the latest release compatible with D2007?
  10. Javier Tarí

    Trying to find the correct mouse event

    All of the following applies to VCL,; I have zero experience with FMX: You should use OnEnter, not OnMouseEnter If you want it work 100% also when the form is closed, I do this: Save the form Active control value on a variable Assign to ActiveControl another safe control (I do it eg. btnCancel.SetFocus) Assign again to ActiveControl the control you saved This way you are simulating the user leaving the edit box Another way to observe a DB field changes is the TDataSource events: when your field is changed while the dataset is in dsEdit or dsInsert state, you will get a DataChange event refering to that field (and not to nil)
  11. Javier Tarí

    MQTT: advice wanted

    I'm planning to use MQTT to connect industrial devices (PLCs) to an ERP program running in Windows Never played with that, so I hope some of you could give me any advice The broker would be a Mosquitto As for the Delphi side, I need something that works without troubles, so was considering purchasing the www.esegece.com components, unless suggested otherwise Any advice would be more than welcome! Than you in advance
  12. I was just looking to purchase it as ebook; I read a lot of ebooks, but can't remember when did I read the last paper book Btw, in Amazon Spain the book is not listed
  13. Javier Tarí

    Duplicated SMTP messages

    I'm having a strange issue sending messages through TSMTP The emails are sent to a fixed destination, and CC'd to the sender email Although I only send them once from program, About 5% of them are sent twice To increase my confussion, I've added as BCC my own email, and that email doesn't get duplicates So I'm quite lost
  14. Javier Tarí

    Duplicated SMTP messages

    Thanks for answering, Remy; I'm sure it's not Indy's fault, but I'm quite lost All and every email is sent to exactly the same recipients: the email addresses are used by an automated system, always from the same "From" to the same "To", CC" and "BCC" All the emails are sent successfully, and arrive successfully. Some of them (5%-10%) are received twice, and never more than twice I call TIdSMTP.Send once The source of the repeated emails, at least as seen on Thunderbird "source code" message option, is exactly the same, even compared with a text comparer On the source I can see some IDs (as I said, exactly the same on both emails): X-Cyrus-Session-Id: llcc507-a-18474-1651934775-1-2233586116162072206 ESMTP id 4KwVcR2Dvdz30vg ESMTPS id 4KwVcQ5F2Lz3072 ESMTPA id 4KwVcQ1gtSz2t2D
  15. Does anyone knows of any implementation in Delphi? Client or server? Free or commercial? Thanks in advance
  16. Is there any library/framework out there for D2007, wich makes easier using interfaces, DI , factories or anything on that line? I would jump on Spring4D, but some legacy issues doesn't allow me to go other Delphi versions for now I'm using interfaces for just a couple years now, and would prefer not reinventing the wheel if possible
  17. Javier Tarí

    RAD Studio 11 Alexandria is now available

    The installer is failing for me. These are some details for my subscription; This is what happens when I try to install from the web installer or the ISO installer: Just in case, I downloaded the activation file from the licensing page: and tried removing the license from licensing manager, and leting the installer use the new one Result: Delphi 10.3 and 10.4 keep running with the license, but Delphi 11 won't install
  18. Short: At design time, How can I get the IDesigner interface for a given form? Long: I have a VCL DBGrid-kind component developed for D5 and working fine all the way up to D10.4.1, except for one thing At design time, when I clic on a column header, it should select on the Object Inspector the TCollectionItem descendant for that column In D5, it was as easy as finding the form owning the DBGrid-kind, and then using FDesigner.SelectComponent(TheColumn); But now the form has IDesigner: IDesignFormHook, so I don't know how to do a SelectComponent Thanks in advance
  19. Javier Tarí

    Need help finding the IDesigner

    Works perfect; thank you very much
  20. Javier Tarí

    PlasticSCM, Delphi, Semantic merge

    Has someone tried PlasticSCM with Delphi sources? The semantic comparison seems awesome, but I wonder if someone has tried it already, and has found how good it is - or is not Thanks in advance
  21. Javier Tarí

    Database app good practice

    If you can, sure. I work everyday on the same project, for more than 20 years, and it can't stop evolving So no chance of rewriting projects here
  22. Javier Tarí

    Database app good practice

    Testing Greater Platform independency Long term, evolutive applications Same happens with DB-aware; you just have some DBaware components
  23. Javier Tarí

    Database app good practice

    Very far from it; just an appetizer, an starting point to get a feeling on how MVVM could work If you are looking for a true MVVM framework, this is not for you
  24. I'm deeply interested on this, and would like if anyone here is using/used homegrown MVVM implementations, and wich was/is your experience. Works fine? Is not woth the effort? Is the best since sliced bread? Please, share your experience Thank you!
  25. Javier Tarí

    Is someone using MVVM?

    Could you expand that a bit? Do you mean in Delphi we don't need it? If that's what you mean, wich would be in Delphi the pattern that gives us the same as MVVM in other platforms?
×