-
Content Count
523 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Vandrovnik
-
There is a possibility to build from command line: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Building_a_Project_Using_an_MSBuild_Command
-
delphi set max length for Argument of string in a method
Vandrovnik replied to bravesofts's topic in Algorithms, Data Structures and Class Design
string[20] is, AFAIK, ansi string (= expect problems...). -
Delphi 11 Windows XP compatibility tweak
Vandrovnik replied to mitzi's topic in RTL and Delphi Object Pascal
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 -
Delphi 11 Windows XP compatibility tweak
Vandrovnik replied to mitzi's topic in RTL and Delphi Object Pascal
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). -
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).
-
Delphi 11 Windows XP compatibility tweak
Vandrovnik replied to mitzi's topic in RTL and Delphi Object Pascal
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. -
Delphi 11 Windows XP compatibility tweak
Vandrovnik replied to mitzi's topic in RTL and Delphi Object Pascal
Thank you! Emba could do the same... -
RAD Studio 11 Alexandria is now available
Vandrovnik replied to Darian Miller's topic in General Help
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? -
Anon function with undefined result yields no warning
Vandrovnik replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
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 🙂 -
Anon function with undefined result yields no warning
Vandrovnik replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
This one was created on 11/Mar/15 🙂 -
Alfabetical order of a letter
Vandrovnik replied to Henry Olive's topic in RTL and Delphi Object Pascal
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; -
Alfabetical order of a letter
Vandrovnik replied to Henry Olive's topic in RTL and Delphi Object Pascal
Edit1.Text is string, not char. Try Edit1.Text[1] (and do not forget to test length of the text first). -
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 🙂 ).
-
"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? 🙂
-
It sounds like a Muprhy's Law: the most useful methods are usualy declared as private.
-
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.
-
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
-
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...
-
Emba could also repair their implementation...
-
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);
-
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;
-
How do I check for empty rows in a string grid?
Vandrovnik replied to PrimeMinister's topic in General Help
In your code, I cannot see initial setting of grid.RowCount.- 7 replies
-
- delphi
- stringgrid
-
(and 3 more)
Tagged with:
-
In design time: could you just copy whole imagelist and then delete unneeded images from it?
-
What is the correct approach to "phone home"?
Vandrovnik replied to Der schöne Günther's topic in Project Planning and -Management
I vote for 3) - I am using this approach too. -
Binary data in String?
Vandrovnik replied to aehimself's topic in Algorithms, Data Structures and Class Design
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).