-
Content Count
560 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Vandrovnik
-
{Please Help} Delphi 11 November Patch hangs forever "Replacing lib/win32/debug/Vcl.Menus.dcu"
Vandrovnik replied to Al T's topic in Delphi IDE and APIs
Could you manually delete the target file and try again? Or try to suspend antivirus software? -
Should I be concerned about KERNELBASE.RaiseException + 0x62
Vandrovnik replied to david_navigator's topic in General Help
And what happens when you close the Local Variables window? -
Hello, I have noticed that in PDF exported using SynPdf, colors in PDF do not match original colors. I have created a test application, which displays colors on screen and allows to export them to PDF using SynPdf and using FastReport. Colors should be the same, but are not (RGB of the left bottom square should be 191, 0, 255, but is 223, 0, 255 using SynPdf). Is there something wrong in my export procedure, or is it a bug in SynPdf? Kind regards, Karel PdfColors-source.zip TestSynPdf.pdf TestFastReport.pdf
-
I believe PDF from SynPDF is PDFA-1A, too. In source, I have: lPdf.PDFA1 := true; And Reader says: In the .pdf file, there IS a color profile included, and it seems that this profile is the source of the problem. When I made SynPdf to include another color profile (sRGB Color Space Profile.icm), colors are OK.
-
It seems Fastreport is using this color profile: C:\Windows\System32\spool\drivers\color\sRGB Color Space Profile.icm
-
There is an ICC profile included in the PDF. I extracted ICC from Fastreport's PDF, put it in SynPdf, created new export - and colors are OK (or at least "almost OK" - expected value 255, displayed value 254).
-
I have created and atteched another output using SynPdf - now I enforced JPG compression of the bitmap, so that it also uses filter DCTDecode. Problem remains, colors do not match. TestSynPdf-jpg.pdf
-
Hmm, I forget to put pf24bit back and left pf32bit in the app, but the result is the same with pf24bit and pf32bit.
-
I do compare both - SynPdf x original bitmap and SynPdf x Fastreport. Later I tried to open the PDF in another tools (online PDF viewers, MS Edge, Libre Office) and there are colors from TestSynPdf.pdf OK. So may be it is just a bug in Adobe Acrobat Reader?
-
This will not work with connection string for embedded Firebird.
-
I would suggest to store "server" and "database folder" as separate fileds in your INI. Server=MySrv: Dir=C:\MyApp\Data\ It is much easier than to properly split it later. (App installed on another drive than C : , database on linux server, embedded database with empty server name etc.)
-
creating circles and ovals programmatically Sin Cosin
Vandrovnik replied to andyf2022's topic in General Help
You can find some inspiration here: https://www.mathsisfun.com/geometry/unit-circle.html Sin and Cos in Delphi take argument in radians (not in degrees). -
New security requirements for code signing, disruptive ?
Vandrovnik replied to A.M. Hoornweg's topic in General Help
Well, this is not my case, I build locally. -
New security requirements for code signing, disruptive ?
Vandrovnik replied to A.M. Hoornweg's topic in General Help
Where do you have to enter the password - on your computer, or directly on the device? On the computer, we could use AutoHotKey, which would enter the password instead of us 🙂 -
In my opinion, Autorun.inf is just the ability of Windows to automatically start something from CD, DVD, USB etc. In BIOS, you can enable booting from CD, DVD or USB drive etc., but it has nothing to do with Autorun.inf.
-
Hello, after update to Delphi 11.2, it has happened to me a few times (IDE did not respond, so I killed it from Task Manager). Last time it happened when I tried to edit lines between $IFDEF ... $ENDIF.
-
Exactly... When compiled to Windows-64, it works fine.
-
Done.
-
Just added to existing (command-line) project using menu Project, Add to project.
-
You have probably changed the unit; in my environment, access violation occurs, too.
-
How can I move a window to the left edge of a monitor?
Vandrovnik replied to dummzeuch's topic in VCL
For the "y" direction, there is SM_CYSIZEFRAME. -
How can I move a window to the left edge of a monitor?
Vandrovnik replied to dummzeuch's topic in VCL
Setting form's Left works fine for me. I have autogenerated manifest, enabled runtime themes and "Per monitor v2" DPI Awarrness. Instead of setting Left to -7, I set it to minus (GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXPADDEDBORDER)), which is -8 on my PC. -
Hello, Please is it possible to use Android 12 emulator with Delphi 11.1? When I create and try to run it, I get this message in idea.log: "PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host." Or is there a better way of testing the application with Android 12, but without physical Android 12 device? Kind regards, Karel
-
Your Android device does not support the selected target platform architecture
Vandrovnik replied to alogrep's topic in FMX
Does the device have 64bit Android? Some devices have 32bit Android and cannot run 64bit apps... -
Prevent TEdit FMX being overwritten by the virtual keyboard with the floating mode?
Vandrovnik replied to Fabian1648's topic in FMX
But then you should support national keyboards, too? (ie. Czech keyboard has different layout than US keyboard, contains letters like "č" etc.) And what about users, which do prefer their Android virtual keyboard?