Jump to content

Vandrovnik

Members
  • Content Count

    310
  • Joined

  • Last visited

  • Days Won

    4

Vandrovnik last won the day on May 5 2020

Vandrovnik had the most liked content!

Community Reputation

97 Excellent

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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;
  2. 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).
  3. 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 🙂 ).
  4. 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? 🙂
  5. Vandrovnik

    SysUtils, AnsiString

    It sounds like a Muprhy's Law: the most useful methods are usualy declared as private.
  6. 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.
  7. 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
  8. 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...
  9. Vandrovnik

    Q for MAPI Expert

    Emba could also repair their implementation...
  10. 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);
  11. 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;
  12. Vandrovnik

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

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

    Getting bitmap from an ImageList source

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

    What is the correct approach to "phone home"?

    I vote for 3) - I am using this approach too.
  15. 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).
×