-
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 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Storing Unicode Characters in PostGreSQL DB table
Cristian Peța replied to new_x's topic in Databases
Not exactly the database ENCODING. Every database can have other encoding but probably it is OK. -
Storing Unicode Characters in PostGreSQL DB table
Cristian Peța replied to new_x's topic in Databases
Using TSQLMonitor you can see parameters value. If there are wrong characters then is something from FireDAC otherwise is from PostgreSQL. -
Storing Unicode Characters in PostGreSQL DB table
Cristian Peța replied to new_x's topic in Databases
This is not the proof that Encoding is UTF8. You need to verify database encoding. Have you? -
Storing Unicode Characters in PostGreSQL DB table
Cristian Peța replied to new_x's topic in Databases
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. -
Storing Unicode Characters in PostGreSQL DB table
Cristian Peța replied to new_x's topic in Databases
Is the database ENCODING = 'UTF8'? I think it can be specified only when you create it. -
Delphi 12.2 enterprise : code insight 64 bits version
Cristian Peța replied to Gilles Revaz's topic in Delphi IDE and APIs
Have you tried a new empty project with that line of code? If the issue persists then it would be better to report. -
Which version is applicable to receive Delphi updates and upgrade versions?
Cristian Peța replied to JohnLM's topic in Delphi IDE and APIs
It is easily to generate MD5 with some tool like Notepad++. -
Try to add MidasLib unit in the projects uses clause. Maybe the cause is an old midas.dll
-
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.
-
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.
-
[dcc32 Fatal Error] F2084 Internal Error: AV50ECCF6F(50E50000)-R3C4F6564-0
Cristian Peța replied to dmitrybv's topic in Delphi IDE and APIs
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. -
ifthen strange return value !
Cristian Peța replied to bravesofts's topic in Algorithms, Data Structures and Class Design
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. -
ifthen strange return value !
Cristian Peța replied to bravesofts's topic in Algorithms, Data Structures and Class Design
I apologize, now that I read again was I wrote... but it was not my intention. -
ifthen strange return value !
Cristian Peța replied to bravesofts's topic in Algorithms, Data Structures and Class Design
Assembler of that code will show the truth... but I think that someone that ask such things do not have ability to read assembler. -
ifthen strange return value !
Cristian Peța replied to bravesofts's topic in Algorithms, Data Structures and Class Design
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.