Lajos Juhász
Members-
Content Count
986 -
Joined
-
Last visited
-
Days Won
12
Everything posted by Lajos Juhász
-
I believe in Delphi you should use TDataObject.
-
The legal way is to file a bug report at https://quality.embarcadero.com/secure/Dashboard.jspa. The trial is valid for 30 days you can use that while it's valid and hope that embarcadero will release a patch for the CE edition or state clearly that it should not contain these files.
-
I would install the fulll fastmm4 version from https://github.com/pleriche/FastMM4 and enable LogMemoryLeakDetailToFile and FullDebugMode.
-
It should be possible with Delphi 11.3 https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object Pascal/ToolsAPI/Editor Demos
-
Most probably one of other units define the TCompressionStream class. You can try to rearange your uses statement or prefix the classname with the unitname.
-
How convert an android app into an i-phone app?
Lajos Juhász replied to Fabian1648's topic in Cross-platform
I've tried Bing if I ask how to convert a Delphi application the anser is: Hello, this is Bing. I can help you with your question. blush There are different tools and methods to convert an Android app to an iOS app, depending on your requirements and preferences. One possible tool is MechDomehttps://www.devteam.space/blog/convert-android-app-to-ios/, which allows you to upload your compiled Android APK and select whether you want to create an iOS app for a simulator or a real iOS device. It will then convert your Android app to an iOS app very quicklyhttps://www.devteam.space/blog/convert-android-app-to-ios/. Another possible method is to use Kotlin Multiplatformhttps://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html, which is a language and a set of tools for creating cross-platform applications that work on both Android and iOS. You can use Kotlin Multiplatform to write your business logic once and reuse it for both platforms, while keeping the native UI for each platform. You can also use existing libraries and frameworks for both Android and iOS in your Kotlin codehttps://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html. A third possible method is to use Delphihttps://docwiki.embarcadero.com/RADStudio/Sydney/en/Mobile_Tutorial:_Creating_an_Application_for_Mobile_Platforms_%28iOS_and_Android%29, which is a programming language and an IDE that supports creating multi-device applications for Android and iOS. You can use Delphi to design your user interface with reusable components, write your code in Delphi or C++, and deploy your app to either platform with minimal changeshttps://docwiki.embarcadero.com/RADStudio/Sydney/en/Mobile_Tutorial:_Creating_an_Application_for_Mobile_Platforms_%28iOS_and_Android%29. These are some of the possible ways to convert an Android app to an iOS app, but there may be others depending on your specific needs and preferences. I hope this information was helpful to you. https://www.devteam.space/blog/convert-android-app-to-ios/ https://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html For the question how to convert an application in the answer it doesn't mention Delphi: Hello, this is Bing. I can help you with your question. blush There are different ways to convert an Android app to an iPhone app, depending on your requirements and preferences. One possible way is to use the Move to iOS apphttps://support.apple.com/en-au/HT201196, which helps you transfer your content from your Android device to your new iPhone, iPad, or iPod touch. You can transfer your contacts, message history, photos, videos, web bookmarks, mail accounts, calendars, and some of your appshttps://support.apple.com/en-au/HT201196. Another possible way is to use Kotlin Multiplatformhttps://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html, which is a language and a set of tools for creating cross-platform applications that work on both Android and iOS. You can use Kotlin Multiplatform to write your business logic once and reuse it for both platforms, while keeping the native UI for each platform. You can also use existing libraries and frameworks for both Android and iOS in your Kotlin codehttps://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html. A third possible way is to use MechDomehttps://www.devteam.space/blog/convert-android-app-to-ios/, which allows you to upload your compiled Android APK and select whether you want to create an iOS app for a simulator or a real iOS device. It will then convert your Android app to an iOS app very quicklyhttps://www.devteam.space/blog/convert-android-app-to-ios/. These are some of the possible ways to convert an Android app to an iPhone app, but there may be others depending on your specific needs and preferences. I hope this information was helpful to you. https://support.apple.com/en-au/HT201196 https://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html https://www.devteam.space/blog/convert-android-app-to-ios/ -
How convert an android app into an i-phone app?
Lajos Juhász replied to Fabian1648's topic in Cross-platform
Why is that required, why not use Delphi? -
For this task the only proper solution can be done using webserver and python that would enable the application to work fast.
-
Something like SimpleNote with an API?
Lajos Juhász replied to David Schwartz's topic in General Help
Instead of application you could use Google Sheets and Google Docs. -
Something like SimpleNote with an API?
Lajos Juhász replied to David Schwartz's topic in General Help
. -
About Delphi 11.3 CE Platform Selection
Lajos Juhász replied to ChenShou's topic in Delphi IDE and APIs
That's false. Every OS is a moving target. You cannot buy a finished solution and freeze it. You have to actively develop it. For years we see that Embarcadero doesn't have the required resources. -
it's cheaper to query a database and move the data through the network.
-
What's wrong with the good old DisableControls/EnableControls using bookmark? (https://docwiki.embarcadero.com/Libraries/Sydney/en/Data.DB.TDataSet.DisableControls)
-
Sort Descending on a Calc.Field
Lajos Juhász replied to Henry Olive's topic in RTL and Delphi Object Pascal
Calculate the value in sql. -
Cost benefit analysis of moving project from Classic compiler to Clang
Lajos Juhász replied to Lachlan Gemmell's topic in General Help
It's an issue due to it's high dpi problems. -
Bitdefender going crazy about with MARS compiles program
Lajos Juhász replied to mvanrijnen's topic in MARS-Curiosity REST Library
I have had a MS Defender false positive on Delphi applications last month. Try to report it. -
Custom title bar (TTitleBarPanel) breaks form designer
Lajos Juhász replied to Gord P's topic in Delphi IDE and APIs
I saw bugs when using custom title bars, but resizing worked always fine for me. I am using Delphi 11.2. -
You should move this code to a class procedure in that case you can execute the dialog before you create the form. If it's a modalform before wm_close you have to set the modalresult. I've tested in Delphi 11.2: procedure TForm2.FormCreate(Sender: TObject); begin if not OpenDialog1.Execute then begin modalResult:=mrCancel; PostMessage(handle, wm_close, 0, 0); end; end;
-
I don't know how will the C++ handle the case when the Text property is empty string.
-
You can start from the help: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Data_Change_Notifications_(FireDAC)#:~:text=The Data Change Notifications feature,database client about these changes. For more information of how to configure the the Change Views feature, you can find a demo project at: Start | Programs | Embarcadero RAD Studio Sydney | Samples and navigate to Object Pascal\Database\FireDAC\Samples\DBMS Specific\InterBase\ChangeView\Generic
-
Delphi 11 DelphiLSP "A valid license was not found. Please contact Embarcadero Support"
Lajos Juhász replied to Al T's topic in Delphi IDE and APIs
You can verify your licence using LicenseManager.exe in Delphi's bin folder. -
Beginner to Delphi. Have no idea what I'm doing wrong here
Lajos Juhász replied to Willicious's topic in Delphi IDE and APIs
The FD reference was just to give context the reason why I have to lock all my users to a specific code page (also a nice example a problem when you're dealing with an ansi database using Delphi). it will: [dcc32 Warning] Unit1.pas(32): W1061 Narrowing given WideChar constant (#$045A) to AnsiChar lost information There is no runtime problem. The compiler will try to convert unicode string to ansistring, code points that cannot be represent in ansistring will be replaced with ? a well known behavior of windows. -
Beginner to Delphi. Have no idea what I'm doing wrong here
Lajos Juhász replied to Willicious's topic in Delphi IDE and APIs
That's easy for me. I use FireDAC with settings to string fields to widestring (unicode). When writing back the data firedac requires that windows is set for non unicode language to be the correct codepage (simply ignores client and db codepage). Thus I know for sure that if I convert a unicode string it will use the correct codepage. This is going to work until the database is using code page. -
Beginner to Delphi. Have no idea what I'm doing wrong here
Lajos Juhász replied to Willicious's topic in Delphi IDE and APIs
There is no "unicode" set in Delphi. Using CharInSet will only work on Ansi. For example on my Windows this will not show true on my laptop: procedure TForm1.FormCreate(Sender: TObject); var a: char; s: string; begin a:='њ'; if CharInSet(a, ['њ', 'а', 'м']) then ShowMessage('true'); end; Here is the reason: [dcc32 Warning] Unit1.pas(32): W1061 Narrowing given WideChar constant (#$045A) to AnsiChar lost information [dcc32 Warning] Unit1.pas(32): W1061 Narrowing given WideChar constant (#$0430) to AnsiChar lost information [dcc32 Warning] Unit1.pas(32): W1061 Narrowing given WideChar constant (#$043C) to AnsiChar lost information -
Beginner to Delphi. Have no idea what I'm doing wrong here
Lajos Juhász replied to Willicious's topic in Delphi IDE and APIs
You should open the Sysutils and verify the magic. A spoiler alert. There is no black magic it uses the same code as when you write ch in [.... just without a warning. When you use CharInSet you just admit that you're aware what's going on (that you string is converted to AnsiString and char into ansichar).