-
Content Count
329 -
Joined
-
Last visited
-
Days Won
4
Cristian Peța last won the day on January 9
Cristian Peța had the most liked content!
Community Reputation
94 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
android Delphi 12.1 Android API 34 - not support architecture
Cristian Peța replied to nevez's topic in General Help
There is not Android x86 platform in Delphi. For debugging you can use Android devices or better Windows 32 for non Android specific things.- 8 replies
-
- rad studio
- platform
-
(and 2 more)
Tagged with:
-
Disabled floating point exceptions are problematic for DLLs
Cristian Peța replied to A.M. Hoornweg's topic in Delphi IDE and APIs
If not multi threading then it can be. -
Disabled floating point exceptions are problematic for DLLs
Cristian Peța replied to A.M. Hoornweg's topic in Delphi IDE and APIs
procedure Foo; stdcall; begin SetFPCR; ... RestoreFPCR; end; Do you think is so cumbersome to do this for every exposed function? The SetFPCR and RestoreFPCR you need to write for yourself but only once. -
Disabled floating point exceptions are problematic for DLLs
Cristian Peța replied to A.M. Hoornweg's topic in Delphi IDE and APIs
If FPCR would not be per core then one processes would change FPCR of all processes! This can't be. FPCR must be pe core like all CPU registers. -
Here something on this them: https://stackoverflow.com/questions/77764786/remove-runfulltrust-capability-from-flutter-windows-application And Win32 apps packaged as msix will need runFullTrust. You can avoid runFullTrust with UWP but a Delphi app will call all sort of Win32 API that will need runFullTrust. https://blogs.windows.com/windowsdeveloper/2017/07/06/calling-winrt-components-win32-process-via-desktop-bridge/
-
Delphi and "Use only memory safe languages"
Cristian Peța replied to Die Holländer's topic in General Help
The sources must register to the collector. And unregister when the source does not need the collector anymore. The collector must not be destroyed if there is an active source. This is a little like ARC for interfaces work. -
Strange bug with string literals in RAD Studio 12
Cristian Peța replied to luebbe's topic in RTL and Delphi Object Pascal
@Uwe Raabe do I need to do something more than login to see the report? -
TStringStream inconsistent results
Cristian Peța replied to Mark Williams's topic in RTL and Delphi Object Pascal
I suppose you are using TXMLDocument. Then why not using TXMLDocument.LoadFromStream and TXMLDocument.SaveToStream and let the library do the encoding work for you? -
Simply don't share dll memory with the exe. https://docwiki.embarcadero.com/RADStudio/Sydney/en/Sharing_Memory
-
The OS will free the memory when you unload the dll.
-
Why a ghost? TThread.Create() can raise an exception using resourcestring SThreadCreateError = 'Thread creation error: %s' And SysErrorMessage() return an empty string.
-
Assign Null value to date mySQL
Cristian Peța replied to Lainkes's topic in RTL and Delphi Object Pascal
FieldByName('STAT_CLOSED_DATE').Value := Null Easier to read for me. -
Trouble with installing community edition serial number
Cristian Peța replied to berean52's topic in General Help
That serial number is not for Delphi 11 that is the current community edition? -
Delphi and "Use only memory safe languages"
Cristian Peța replied to Die Holländer's topic in General Help
Linux and Windows sources are C, C++, Assembly.... -
Then you don't know if that first char is one or two bytes. You test first byte (suppose UTF-8) and if it is not what you expected then you test first two bytes?