Jump to content

Lajos Juhász

Members
  • Content Count

    986
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Intercept "WM_COPY" on Windows

    I believe in Delphi you should use TDataObject.
  2. Lajos Juhász

    iOS_64 linking problem

    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.
  3. Lajos Juhász

    How To Debug This Memory Leak?

    I would install the fulll fastmm4 version from https://github.com/pleriche/FastMM4 and enable LogMemoryLeakDetailToFile and FullDebugMode.
  4. Lajos Juhász

    OpenToolsAPI challenge.

    It should be possible with Delphi 11.3 https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object Pascal/ToolsAPI/Editor Demos
  5. Lajos Juhász

    Strange one with zLib..

    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.
  6. Lajos Juhász

    How convert an android app into an i-phone app?

    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/
  7. Lajos Juhász

    How convert an android app into an i-phone app?

    Why is that required, why not use Delphi?
  8. Lajos Juhász

    Sorting two lists in step?

    For this task the only proper solution can be done using webserver and python that would enable the application to work fast.
  9. Lajos Juhász

    Something like SimpleNote with an API?

    Instead of application you could use Google Sheets and Google Docs.
  10. Lajos Juhász

    Something like SimpleNote with an API?

    .
  11. Lajos Juhász

    About Delphi 11.3 CE Platform Selection

    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.
  12. Lajos Juhász

    Query result to dynamic array

    it's cheaper to query a database and move the data through the network.
  13. Lajos Juhász

    Query result to dynamic array

    What's wrong with the good old DisableControls/EnableControls using bookmark? (https://docwiki.embarcadero.com/Libraries/Sydney/en/Data.DB.TDataSet.DisableControls)
  14. Lajos Juhász

    Sort Descending on a Calc.Field

    Calculate the value in sql.
  15. It's an issue due to it's high dpi problems.
  16. I have had a MS Defender false positive on Delphi applications last month. Try to report it.
  17. I saw bugs when using custom title bars, but resizing worked always fine for me. I am using Delphi 11.2.
  18. Lajos Juhász

    Stop/Abort Form creation..

    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;
  19. Lajos Juhász

    How do I convert from string to char?

    I don't know how will the C++ handle the case when the Text property is empty string.
  20. Lajos Juhász

    IBX & FireDAC, Change Views

    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
  21. You can verify your licence using LicenseManager.exe in Delphi's bin folder.
  22. 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.
  23. 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.
  24. 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
  25. 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).
×