-
Content Count
560 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Vandrovnik
-
Yes, Delphi 10.4.2 Pro. May be I am doing it wrong. Let's say I have: - file A for Android 32 - in deployment manager, it has two rows (Android - Release, Android - Debug). - file B for Android 64 - in deployment manager, it has two rows (Android64 - Release, Android64 - Debug). Now when I create .aab file for Release, Application store (with checked option "Generate Android 32-bit and 64-bit binaries), this .aab contains only file B. So I have to place file A to deployment manager for Android 64 bit too (this was my mistake: I thought Delphi takes this file automatically). But I guess Google Play will never be able to recognize that this file A is for 32-bit Android only and will deliver it to all devices. And probably will also deliver file B to 32-bit devices...
-
Several F2084 Internal Error on Delphi 10.4.2
Vandrovnik replied to Davide Angeli's topic in Delphi IDE and APIs
I have almost no problems, but my projects are smaller - the largest one is about 1.5 M lines of code. I use no runtime packages and since I stopped to use their translation manager, I do not use project groups anymore (to be more precise, there is only one project in the project group). VCL apps for Win32 and Win64. FMX apps for Win32, Win64, Android32, Android64, but these are much smaller. -
Loading of translated resourcestrings broken in 10.4.2
Vandrovnik posted a topic in RTL and Delphi Object Pascal
Hello, I use Better Translation Manager from @Anders Melander to create language modules. This works fine even with 10.4.2. In the application, I use resourcestrings. BTM translates them and saves them to, for example, .DEU file for German translation. I have checked with Resource Hacker that translated resourcestrings are there. In the application, I load resource file, it works for components. Unfortunatelly, when I use resourcestring in the application like MyButton.Caption:=xxZavrit (resourcestring), it is not correctly loaded from .DEU file (it is loaded from .exe instead). It was working fine in 10.3.3, but does not work in 10.4.2. Were there any changes regarding loading resourcestrings? I am using an old function which sets new resource file in place: function SetResourceHInstance(NewInstance: HModule): HModule; var CurModule: PLibModule; begin CurModule := LibModuleList; Result := 0; while CurModule <> nil do begin if CurModule.Instance = HInstance then begin if (CurModule.ResInstance <> CurModule.Instance) then FreeLibrary(CurModule.ResInstance); CurModule.ResInstance := NewInstance; Result := NewInstance; Exit; end; CurModule := CurModule.Next; end; end; Kind regards, Karel -
🙂 Fortunately it is usually enough to type "incl", press Ctrl+space, arrow down, enter.
-
Several F2084 Internal Error on Delphi 10.4.2
Vandrovnik replied to Davide Angeli's topic in Delphi IDE and APIs
What is a hotfix: a small piece of code developed to correct a major software bug or fault and released as quickly as possible. This one probably will not be much hot... -
Hmm, for now "solved" for deployed file MyFile.txt on app start: - if exists, delete MyFile2.txt - rename (deployed) MyFile.txt to MyFile2.txt - in the app, use MyFile2.txt
-
compiling DCU without creating EXE
Vandrovnik replied to Dave Novo's topic in RTL and Delphi Object Pascal
What if you set in Project Options to create .exe on non-existent path, like W:\Output? -
What about the printer name? Isn't it just quite long?
-
Delphi 10.4.2 Right Click over a word -> Find Declaration, Not working.
Vandrovnik replied to Juan C.Cilleruelo's topic in Delphi IDE and APIs
Refactor/Rename did not work for me too. It started to work properly after installing some Windows updates, including optional ones (including KB5000842).- 45 replies
-
- 10.4.2
- find declaration
-
(and 1 more)
Tagged with:
-
Several F2084 Internal Error on Delphi 10.4.2
Vandrovnik replied to Davide Angeli's topic in Delphi IDE and APIs
May be Emba could provide you this hotfix for testing? I guess it will not be worse than it is now. -
Parallel Algorithm for resampling bitmaps - very infrequent fails
Vandrovnik replied to Renate Schaaf's topic in Algorithms, Data Structures and Class Design
Could the problem be related to https://quality.embarcadero.com/browse/RSP-32278 ? I remember someone wrote that they solved it by changing TTask to TThread.CreateAnonymousThread. -
A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints
Vandrovnik replied to Carlo Barazzetta's topic in VCL
Confirmed, problem appears 🙂 1) Monitor 1 @ 150 % Monitor 2 @ 100 % Monitor 2 is my primary monitor When app is on monitor 2 (primary, 100 %), it works fine. When app is on monitor 1 (not primary, 150 %), problem appears - app alternates between 150 % and 100 % zoom on this monitor 2) Monitor 1 @ 100 % Monitor 2 @ 150 % Monitor 2 is my primary monitor When app is on monitor 2 (primary, 150 %), it works fine. When app is on monitor 1 (not primary, 100 %), problem appears - app alternates between 100 % and 150 % zoom on this monitor -
A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints
Vandrovnik replied to Carlo Barazzetta's topic in VCL
Can you upload whole project with all the settings you use? -
A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints
Vandrovnik replied to Carlo Barazzetta's topic in VCL
Does not happen on my PC (100 % and 150 % monitors). Windows 10 Pro Czech, 20H2, build 19042.906. -
uses System.Net.HttpClient; procedure TMainForm.Button1Click(Sender: TObject); var HttpClient: tHttpClient; m: tMemoryStream; begin m:=tMemoryStream.Create; try HttpClient:=tHttpClient.Create; try HttpClient.Get('https://www.embarcadero.com/images/logos/logo-black-corp-grey.png', m); finally FreeAndNil(HttpClient); end; m.SaveToFile('r:\img.png'); finally FreeAndNil(m); end; end;
-
THTTPClient? http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Net.HttpClient.THTTPClient
-
I have KB5000842 installed and code completion is working. W10 20H2 Pro Czech, build 19042.906.
-
I have removed KB5000802, because it dies with blue screen when printing to Kyocera...
-
I wonder if someone reads these sliding boxes.
-
I access Quality Portal on https://quality.embarcadero.com/
-
E-mail clients often are able to work in offline mode and then send/receive e-mails when connection is available. I believe that in this case "Date" and first "Received" can differ significantly.
-
Unicode string - how element iterating?
Vandrovnik replied to vfbb's topic in RTL and Delphi Object Pascal
DirectWrite has some methods that could be usefull. https://docs.microsoft.com/en-us/windows/win32/api/dwrite/nn-dwrite-idwritetextanalyzer It is able to display for example 🧑🏿🦽 correctly. -
With remover refactoring tool to IDE, Please vote this feature request:
Vandrovnik replied to Tommi Prami's topic in Delphi IDE and APIs
Does Refactor / Rename work for you in 10.4.2? Here it always says something like this: -
Range Check Error ERangeError
Vandrovnik replied to david_navigator's topic in RTL and Delphi Object Pascal
In Windows.pas: type WPARAM = UINT_PTR; Then: UINT_PTR = System.UIntPtr; // NativeUInt; UIntPtr = NativeUInt; So just change the typecast to WPARAM should be enough. Now it probably would not work fine in 64 bits? -
Just a small correction: 3000 per microsecond ==> 3 per nanosecond, not 300.