Jump to content

Cristian Peța

Members
  • Content Count

    368
  • Joined

  • Last visited

  • Days Won

    5

Cristian Peța last won the day on August 15

Cristian Peța had the most liked content!

Community Reputation

100 Excellent

2 Followers

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

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

  1. Cristian Peța

    Storing Unicode Characters in PostGreSQL DB table

    Not exactly the database ENCODING. Every database can have other encoding but probably it is OK.
  2. Cristian Peța

    Storing Unicode Characters in PostGreSQL DB table

    Using TSQLMonitor you can see parameters value. If there are wrong characters then is something from FireDAC otherwise is from PostgreSQL.
  3. Cristian Peța

    Storing Unicode Characters in PostGreSQL DB table

    This is not the proof that Encoding is UTF8. You need to verify database encoding. Have you?
  4. Cristian Peța

    Storing Unicode Characters in PostGreSQL DB table

    Personally I would debug the FireDAC code to see where the characters change. Do you use parameters or the values are in SQL text directly? I suppose if you use TSQLMonitor the values are already wrong.
  5. Cristian Peța

    Storing Unicode Characters in PostGreSQL DB table

    Is the database ENCODING = 'UTF8'? I think it can be specified only when you create it.
  6. Cristian Peța

    Delphi 12.2 enterprise : code insight 64 bits version

    Have you tried a new empty project with that line of code? If the issue persists then it would be better to report.
  7. It is easily to generate MD5 with some tool like Notepad++.
  8. Cristian Peța

    DataSnap connection problem

    Try to add MidasLib unit in the projects uses clause. Maybe the cause is an old midas.dll
  9. Cristian Peța

    How do I return to the 'Constructor'??

    After you created the form and want to have only one form you can not return to the code into the constructor without creating an other form.
  10. Cristian Peța

    How do I return to the 'Constructor'??

    If you create only one form and want to keep it to change the table the I ask myself as Remy asked: why is that code in the constructor? Also calling Abort into the constructor will destroy the form.
  11. This happens also when you build you package? Usually this happens at compile but not at build. If build was successful then try install again.
  12. Cristian Peța

    ifthen strange return value !

    Compiler generated code can tell you if a variable is automatically initialized or not. I only wanted to point out that there is a method to check if an AI statement in this regard is true or not.
  13. Cristian Peța

    ifthen strange return value !

    I apologize, now that I read again was I wrote... but it was not my intention.
  14. Cristian Peța

    ifthen strange return value !

    Assembler of that code will show the truth... but I think that someone that ask such things do not have ability to read assembler.
  15. Cristian Peța

    ifthen strange return value !

    Not. The best practice is to initialize to nil if you need this. Because there was something before and that memory was deallocated. It doesn't have anything with object allocation. You can allocate the memory for an object and you variable will remain as it was. var LObj: TObject; begin TMyClass.Create; //LObj is not changed and will contain garbage Only if you pass the value of the object to the variable: LObj := TMyClass.Create; Not. Declaration will only allocate the memory for the variable (a typed pointer in this case) and that memory will contain garbage.
×