Jump to content

Vandrovnik

Members
  • Content Count

    523
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Vandrovnik

  1. Vandrovnik

    Compile for WIN32 and WIN64 at same click

    There is a possibility to build from command line: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Building_a_Project_Using_an_MSBuild_Command
  2. string[20] is, AFAIK, ansi string (= expect problems...).
  3. No, it was Windows problem (affecting Kyocera and a few others). https://www.windowslatest.com/2021/03/10/windows-10-kb5000802-march-update-is-crashing-pcs-with-bsod/ https://www.kyoceradocumentsolutions.com/asia/en/about-us/press/20210317_news.html
  4. In fact, these unsupported machines created no problem this year, while supported Windows 10 created a few of problems, one of them really serious (after one actualization, printing to Kyocera printers resulted in BSOD).
  5. Vandrovnik

    D11 Startup problem

    Migration Tool copied registry entries from D 10.4.2 to D 11? There is a button "Version upgrade" in Migration Tool during restore, which must be clicked (or manually disable "some" items in the list).
  6. From my point of view, compatibility with old versions of Windows is one of important benefits of applications written in Delphi. If they broke this compatibility just because of GetTickCount64, they are throwing this benefit away needlessly.
  7. Thank you! Emba could do the same...
  8. Vandrovnik

    RAD Studio 11 Alexandria is now available

    Now they support Android 8.1 or newer. For our customers it is a problem (some have barcode scanners with Android 6). Is it possible to create new vesrions of the app in Delphi 11, or I have to keep 10.4.2? Or do apps from Delphi 11 still run fine on Android 6 and they just do not test it?
  9. I just copies it from https://quality.embarcadero.com/browse/RSP-10506 I suppose it was created in 2015, but I would believe in 2011, too 🙂
  10. This one was created on 11/Mar/15 🙂
  11. Vandrovnik

    Alfabetical order of a letter

    Num := Ord(Str[Low(Str)]) - Ord('A') + 1; Or, if you are sure your strings begin at offset 1: Num := Ord(Str[1]) - Ord('A') + 1;
  12. Vandrovnik

    Alfabetical order of a letter

    Edit1.Text is string, not char. Try Edit1.Text[1] (and do not forget to test length of the text first).
  13. Vandrovnik

    Delphi compatibility with Windows 11?

    The note about dinosaurs was from linked https://blogs.embarcadero.com/windows-11-a-beautiful-meteor-will-wipe-out-the-dinosaurs/ I hope there will be an easy way to install W11 without TPM (because my PC is dinosaur 🙂 ).
  14. Vandrovnik

    Delphi compatibility with Windows 11?

    "If your PC doesn’t have a TPM capability then Windows 11 will be the falling rock which wipes out your beloved dinosaur hardware. " - May be linux installed on metal, created virtual machine using libvirtd + QEMU and virtualised TPM? 🙂
  15. Vandrovnik

    SysUtils, AnsiString

    It sounds like a Muprhy's Law: the most useful methods are usualy declared as private.
  16. Vandrovnik

    Watermark in a FastReports report

    I use OverlayBand for watermark (but I have it under other things). In current version of FastReport, images can use alpha channel and they are correctly alpha-blended; this works for PDF export if Image.Transparent is set to False and PDF export filter has Transparency set to True; for me, it does not work when I "print" the report to PdfCreator.
  17. Vandrovnik

    10.4.2 IDE crashes on start

    There are some command line switches, but I have never tried them: http://docwiki.embarcadero.com/RADStudio/Sydney/en/IDE_Command_Line_Switches_and_Options
  18. Vandrovnik

    10.4.2 IDE crashes on start

    I would uninstall all third party, all GetIt packages, remove IDE, delete manually what is left. Clean install, test. All GetIt packages one by one, test...
  19. Vandrovnik

    Q for MAPI Expert

    Emba could also repair their implementation...
  20. Vandrovnik

    Q for MAPI Expert

    There is another small one (missing "W"), which probably makes no problem now: in mwWide, original code: FillChar(LMapiMessageW, SizeOf(LMapiMessage), 0); please change to FillChar(LMapiMessageW, SizeOf(LMapiMessageW), 0);
  21. Vandrovnik

    Q for MAPI Expert

    Thank you for the unit! I have found a bug regarding attachments in mvAnsi mode (two times there should be TMapiFileDesc instead of TMapiFileDescW; ^ is missing in FillChar). Original code: if LAttachCount > 0 then begin GetMem(LAttachments, SizeOf(TMapiFileDescW) * LAttachCount); FillChar(LAttachments, SizeOf(TMapiFileDescW) * LAttachCount, 0); Please change to: if LAttachCount > 0 then begin GetMem(LAttachments, SizeOf(TMapiFileDesc) * LAttachCount); FillChar(LAttachments^, SizeOf(TMapiFileDesc) * LAttachCount, 0); I have also added a simple procedure SetMapiDll (on clients computers, GroupWise is installed and used. Outlook 2019, which is also installed, but not used, keeps overwriting the registry entry, so I will probably have to load directly C:\Program Files (x86)\Novell\GroupWise\gwmlt1.dll there). procedure SetMapiDll(const AMapiDll: string); begin MAPIDLL:=aMapiDll; end;
  22. Vandrovnik

    How do I check for empty rows in a string grid?

    In your code, I cannot see initial setting of grid.RowCount.
  23. Vandrovnik

    Getting bitmap from an ImageList source

    In design time: could you just copy whole imagelist and then delete unneeded images from it?
  24. Vandrovnik

    What is the correct approach to "phone home"?

    I vote for 3) - I am using this approach too.
  25. Vandrovnik

    Binary data in String?

    But even when I put #129 in txt file (Notepad, Alt+0129) and save it, it is saved as bytes C2 81. Notepad does not display there any character, but it is present (cursor "stays" there when using arrow on keyboard).
×