Dmitry Sh.
Members-
Content Count
10 -
Joined
-
Last visited
-
Days Won
1
Dmitry Sh. last won the day on November 24 2021
Dmitry Sh. had the most liked content!
Community Reputation
8 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Delphi 12 IDE, auto-formatter mutilates generics
Dmitry Sh. replied to A.M. Hoornweg's topic in Delphi IDE and APIs
https://github.com/cnpack/cnwizards -
cmdline-tools\latest\bin\sdkmanager "platforms;android-33" "build-tools;33.0.2" "platform-tools"
-
Some interesting articles by Yaroslav Brovin (the author of FGX Native and former FMX developer). http://yaroslavbrovin.ru/new-approach-of-development-of-firemonkey-control-control-model-presentation-part-1-ru/
-
Interesting.... The source files are different in the Pro and Ent versions. For example. The header in the pas files in Pro has the dates { Copyright(c) 2004-2022 Embarcadero Technologies, Inc. } In the same files in Ent version. { Copyright(c) 2004-2023 Embarcadero Technologies, Inc. } Looks like the older files in the Pro version. Can anyone check this?
-
it's my mistake. post corrected.
-
For sign apk by Jarsigner ( APK Signature Scheme v2 ) you need: 1. Edit CodeGear.Deployment.Targets add section <Target Name="_AndroidApkSigner" Condition="('$(Platform)'=='$(cAndroid32ArmPlatform)' Or '$(Platform)'=='$(cAndroid64ArmPlatform)') And '$(KeyStoreFile)'!='' And '$(AndroidAppBundle)'=='false'"> <Message Text="Start Apk Signer."/> <Exec Command=""$(ApkSigner)" sign --ks $(KeyStoreFile) --ks-pass pass:$(KeyStorePass) $(SIGNED_APK_FILENAME)" ContinueOnError="True"> <Output TaskParameter="ExitCode" PropertyName="ErrorCode"/> <Output TaskParameter="StdOutEncoding" PropertyName="StdOut"/> </Exec> </Target> 2. add line _AndroidApkSigner; in section <DeployDependsOnTargets> <PropertyGroup> <DeployDependsOnTargets> ... _CheckKeyStore; _AndroidSign; _AndroidZipAlign; _AndroidApkSigner; _CheckAPKFileOutputResult; _CheckAABFileOutputResult; _DeleteAndroidAssetsInfoFile; ... </DeployDependsOnTargets> 3. Create New IDE Environment Variable ApkSigner with value (SDK path)\android-sdk-windows\build-tools\29.0.2\apksigner.bat Thanks to Stas for this solution diff for file CodeGear.Deployment.Targets
-
Wke4Delphi, alternative to dcef3 or cef4delphi
Dmitry Sh. replied to Edwin Yip's topic in Delphi Third-Party
Sorry, it's part of my patches for LangjiApp/Wke4Delphi. You can find my repo on https://github.com/dshumko/WKE4Delphi -
Wke4Delphi, alternative to dcef3 or cef4delphi
Dmitry Sh. replied to Edwin Yip's topic in Delphi Third-Party
try send 'Accept-Language: en-us,en' on load event example: function DoOnLoadUrlBegin(WebView: wkeWebView; param: Pointer; url: PansiChar; job: Pointer): boolean; cdecl; var bhook, bHandled: boolean; begin wkeNetSetHTTPHeaderField(job, PwideChar('Accept-Language'), PWideChar('en-us,en'), False); -
FireBird tool, Coworker doing this, 2.0 just released
Dmitry Sh. replied to Tommi Prami's topic in I made this
Wrong charset on objects description and procedure body (v3.0.0) SET SQL DIALECT 3; SET NAMES UTF8; CREATE DATABASE 'TEST_DESC.FDB' USER 'SYSDBA' PASSWORD 'masterkey' PAGE_SIZE 8192 DEFAULT CHARACTER SET UTF8 COLLATION UTF8; CREATE TABLE NEW_TABLE (NEW_FIELD INTEGER); SET TERM ^ ; CREATE OR ALTER PROCEDURE NEW_PROCEDURE (IN_PARAM INTEGER) RETURNS (OUT_PARAM INTEGER) AS begin /* тело процедуры / proc body */ end^ SET TERM ; ^ COMMENT ON TABLE NEW_TABLE IS 'Описание талицы / Desc table'; COMMENT ON PROCEDURE NEW_PROCEDURE IS 'Описание пр. / Desc proc'; COMMENT ON COLUMN NEW_TABLE.NEW_FIELD IS 'Описание поля / Desc field'; COMMENT ON PROCEDURE PARAMETER NEW_PROCEDURE.IN_PARAM IS 'Описание вх. парам. / Desc inp. param'; COMMENT ON PROCEDURE PARAMETER NEW_PROCEDURE.OUT_PARAM IS 'Описание вых. парам. / Desc out. param'; -
Why is my firebird database code unstable under load? (code included)
Dmitry Sh. replied to Yaron's topic in Databases
You must control transaction under Firebird ... ReadTransaction.Connection := FDConnection1; ReadTransaction.Options.ReadOnly := True; ReadTransaction.Options.Isolation := xiReadCommitted; ... SelectQuery.Transaction := ReadTransaction; http://docwiki.embarcadero.com/RADStudio/Rio/en/Managing_Transactions_(FireDAC)