Jump to content

Vandrovnik

Members
  • Content Count

    560
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Vandrovnik

  1. Could you manually delete the target file and try again? Or try to suspend antivirus software?
  2. Vandrovnik

    Should I be concerned about KERNELBASE.RaiseException + 0x62

    And what happens when you close the Local Variables window?
  3. 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
  4. Vandrovnik

    SynPdf - wrong colors in PDF export

    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.
  5. Vandrovnik

    SynPdf - wrong colors in PDF export

    It seems Fastreport is using this color profile: C:\Windows\System32\spool\drivers\color\sRGB Color Space Profile.icm
  6. Vandrovnik

    SynPdf - wrong colors in PDF export

    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).
  7. Vandrovnik

    SynPdf - wrong colors in PDF export

    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
  8. Vandrovnik

    SynPdf - wrong colors in PDF export

    Hmm, I forget to put pf24bit back and left pf32bit in the app, but the result is the same with pf24bit and pf32bit.
  9. Vandrovnik

    SynPdf - wrong colors in PDF export

    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?
  10. Vandrovnik

    Server Data Path

    This will not work with connection string for embedded Firebird.
  11. Vandrovnik

    Server Data Path

    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.)
  12. Vandrovnik

    creating circles and ovals programmatically Sin Cosin

    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).
  13. Vandrovnik

    New security requirements for code signing, disruptive ?

    Well, this is not my case, I build locally.
  14. Vandrovnik

    New security requirements for code signing, disruptive ?

    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 🙂
  15. Vandrovnik

    AutoRun.Inf in USB

    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.
  16. Vandrovnik

    IDE it's not working anymore

    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.
  17. Vandrovnik

    Stumbled upon serious looking bug report

    Exactly... When compiled to Windows-64, it works fine.
  18. Vandrovnik

    Stumbled upon serious looking bug report

    Just added to existing (command-line) project using menu Project, Add to project.
  19. Vandrovnik

    Stumbled upon serious looking bug report

    You have probably changed the unit; in my environment, access violation occurs, too.
  20. Vandrovnik

    How can I move a window to the left edge of a monitor?

    For the "y" direction, there is SM_CYSIZEFRAME.
  21. Vandrovnik

    How can I move a window to the left edge of a monitor?

    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.
  22. Vandrovnik

    Android 12 emulator

    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
  23. Does the device have 64bit Android? Some devices have 32bit Android and cannot run 64bit apps...
  24. 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?
×