Lajos Juhász
-
Content Count
828 -
Joined
-
Last visited
-
Days Won
11
Posts posted by Lajos Juhász
-
-
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
- 1
-
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.
-
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/- 1
-
9 minutes ago, OliviaAnderson88 said:To convert an Android app to an iOS app, you need to rewrite the code using iOS programming languages and frameworks such as Swift and Xcode
Why is that required, why not use Delphi?
-
3 minutes ago, Uwe Raabe said:I'm glad that nobody suggested a solution involving an SQL server, yet.
For this task the only proper solution can be done using webserver and python that would enable the application to work fast.
-
Instead of application you could use Google Sheets and Google Docs.
- 1
-
-
8 minutes ago, David Champion said:t would not be a big investment to acquire these 3rd party libraries and make them available for free.
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.
- 2
-
2 minutes ago, programmerdelphi2k said:look, same that you "disable it or hide it" or use "ATable.Datasource := nil" etc... , the record still scrolling in background (memory)
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)
-
Calculate the value in sql.
-
On 4/26/2023 at 2:40 AM, Lachlan Gemmell said:QuickReport no longer being supported isn't an issue as it was shipped with full source so we can move it to the later IDEs as we need to.
It's an issue due to it's high dpi problems.
-
I have had a MS Defender false positive on Delphi applications last month. Try to report it.
-
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;
- 1
-
5 hours ago, Roger Cigol said:har ch = AnsiString(EditCharacterEntry->Text)[1]
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
- 1
-
You can verify your licence using LicenseManager.exe in Delphi's bin folder.
-
23 minutes ago, Fr0sT.Brutal said:No, this was a non-DB-related question, just curiosity.
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).
24 minutes ago, Fr0sT.Brutal said:CharInSet won't check whether a char is ASCII or not and codepage-dependent cases are possible that won't produce neither compile-time messages nor run-time errors
it will:
[dcc32 Warning] Unit1.pas(32): W1061 Narrowing given WideChar constant (#$045A) to AnsiChar lost information
25 minutes ago, Fr0sT.Brutal said:Runtime exception in such a basic function doesn't look good
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.
-
2 minutes ago, Fr0sT.Brutal said:Btw, I wonder how do you check whether a char is a letter of a some language (f.ex. Norwegian, German)? They have not only latin chars but some additional which can't be declared with simple 'a'..'z'. You have to add them explicitly, like 'a'..'z', 'æ'?
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.
-
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 -
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).
-
7 hours ago, Lars Fosdal said:It handles Unicode correctly.
Can you explain how? The help clearly states CharInSet checks whether a given character is contained within a set of AnsiChar.
iOS_64 linking problem
in Cross-platform
Posted · Edited by Lajos Juhász
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.