-
Content Count
523 -
Joined
-
Last visited
-
Days Won
6
Posts posted by Vandrovnik
-
-
9 hours ago, Joseph MItzen said:Compatibility with versions of Windows that are no longer supported though?
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).
-
28 minutes ago, David Heffernan said:They explicitly don't want to keep on supporting these old versions.
Why? Emba have done all this intentionally.
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.
-
Thank you! Emba could do the same...
-
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?
-
2 minutes ago, Dany Marmur said:Please use ISO dates. I would have to do some research in order to know if you mean 2011-03-15 or 2015-03-11.
I would have to do research even to know if the "/" is information enough or if i need to know your "locale".
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 🙂
- 1
-
On 8/26/2021 at 4:34 PM, FredS said:Can't expect 'em to implement a new feature in under 5 years now..
This one was created on 11/Mar/15 🙂
-
1 hour ago, Henry Olive said:Thank you Vandrovnik, eivind
From an Excel Sheet i get column name ( for example F ) then i need
to convert F to an integer number ( which is 6 ) so that i can import
some datas from excel to my dataset.
Str:=Edit1.Text; // Which is D
Num := Ord(PChar(Str)) - Ord('A')+1;
Edit2.Text := IntToStr(Num);
I'm getting 37266172 instead of 4
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;
-
28 minutes ago, Henry Olive said:Thank you Lajos,
if Edit1.Text ='A' then // (Edit1.Text =D)
Edit2.Text := '1' else
Edit2.Text := IntToStr(ord(Edit1.Text) - ord('A')+1);
Expecting 4 but getting 37266172with below code i get correct result
ShowMessage(IntToStr(Ord('D') - Ord('A')+1));
Edit1.Text is string, not char. Try Edit1.Text[1] (and do not forget to test length of the text first).
-
3 hours ago, Bill Meyer said:Many motherboards, such as the Ryzen mobo I am using, have a header for an installable TPM 2.0 module. And as it's only about 18 months old, I would not characterize it as a dinosaur.
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 🙂 ).
-
8 minutes ago, Dalija Prasnikar said:You can find more information here: https://blogs.embarcadero.com/windows-11-a-beautiful-meteor-will-wipe-out-the-dinosaurs/
"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? 🙂
-
57 minutes ago, Remy Lebeau said:... The one overload of GetBytes() that would actually let you output directly into your record without using TBytes is declared as 'strict protected', ...
It sounds like a Muprhy's Law: the most useful methods are usualy declared as private.
- 1
-
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...
-
On 5/24/2021 at 9:48 PM, Attila Kovacs said:@Vandrovnik Thank you for pointing that out!
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);
-
On 3/20/2021 at 1:37 PM, Attila Kovacs said:Use it as you want if it works.
I'd be happy if fixes/enhancements would come back to me! 😉
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;
- 1
-
In your code, I cannot see initial setting of grid.RowCount.
-
In design time: could you just copy whole imagelist and then delete unneeded images from it?
-
I vote for 3) - I am using this approach too.
- 1
-
31 minutes ago, Lajos Juhász said:Try https://en.wikipedia.org/wiki/Windows-1251 one character is undefined hex 98.
https://en.wikipedia.org/wiki/Windows-1250 there 5 undefined characters.
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).
-
Just now, Anders Melander said:No. As Stefan pointed out, if AMin is smaller than AValue...
IsInRangeEx(0, 1, 2);
...you will get an Integer Overflow.
Yes, but if you disable these checks, results for ascending intervals are OK.
-
22 minutes ago, Clément said:I cannot see the overflows 😞
IsInRangeEx looks OK for interval in ascending order.
But in these cases, first one returns false, second one true:
writeln(IsInRangeEx(10, 12, 8));
writeln(IsInRangeEx(316084043, 3932079699, 3000547150));
Delphi 11 Windows XP compatibility tweak
in RTL and Delphi Object Pascal
Posted · Edited by Vandrovnik
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