Jump to content

sjordi

Members
  • Content Count

    89
  • Joined

  • Last visited

Community Reputation

16 Good

About sjordi

  • Birthday 11/01/1964

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. sjordi

    XCode 12 compile error

    Well, everything is fine now. For a funny reason it didn’t install the new PA server I installed it manually, deleted the 14.2 SDK, and re-imported it. Now all the folders are correctly imported, And I can compile and deploy without problems
  2. sjordi

    XCode 12 compile error

    They released a patch today for Big Sur, XCode 12 and SDK 14... Just applied it, installed the new PAServer, compiled a very simple app under SDK 14.2 [DCC Error] E2597 ld: file '\\vmware-host\Shared Folders\Documents\Embarcadero\Studio\SDKs\iPhoneOS14.2.sdk/usr/lib/libiconv.dylib' too small (length=0) for architecture arm64 Switch to 13.7, everything's fine.
  3. sjordi

    Crash when Delphi 10.n exits... again

    I actually found a workaround to let GExperts exit without problem: I install it first before all other FMX, VCL tools right after a clean RADStudio install. If I install it afterwards it always crashes when exiting. Probably one of the 3rd party components screws one of the DLLs and locks it. GExpert doesn't install its own. I have the feeling that the DLL causing problem is locked when GExpert is installed first and stays locked during the entire process, never replaced by anything else, thus saving GExperts 🙂 Don't know...
  4. sjordi

    Drone control from mobile

    Ah ok, thanks.
  5. sjordi

    Drone control from mobile

    Mhhh, I was actually talking about the video component that can display it in your app. You get the video signal, but which FMX component you use to show the video? Thanks Steve
  6. sjordi

    Drone control from mobile

    How do you get video streaming? Are you using a special FMX tool?
  7. Hi all, Just was wondering how to actually link vertical scrollbars to TListViews using FireDac pagination. All the examples and doc about fetching limited rows for huge datasets talk about reacting to a Back or Next action (probably buttons) when you trigger the fetching of the next set, say, next 100 rows. This is done this way: FDQuery1.FetchOptions.RecsSkip := FDQuery1.FetchOptions.RecsSkip+1; But how do we connect this with a vertical scrollbar dynamic movement? Is the idea to 1- get the total number of records 2- get the current vertical scrollbar position (OnScrollViewChange) and calculate where we should proportionally be in the dataset and fetch those rows? It would be awful, very slow, and totally approximate. Or can the scrollbar be synced with the actually dataset in pagination mode in a more natural way? Thanks for any light. I prefer to ask first rather than try code for 3 days without results 🙂 Steve
  8. sjordi

    Crash when Delphi 10.n exits... again

    Installed it in 10.4.1 at the very beginning of the full reinstall. Displayed the SynEdit crash error message. Then when everything was installed, all 3rd parties, I installed the latest GExperts DLL that has been recompiled in 10.4.1 and now no more crashes. Works flawlessly... So I suspect that the next time I'll install everything and GExperts only at the end so it's taking over all other DLLs, and nothing else can screw with it... Just a guess...
  9. sjordi

    10.4.1 Released today

    Embarcadero states that they are binary compatible within the same version. So that should work right away. Especially the BPL packages
  10. sjordi

    10.4.1 Released today

    For your information, I installed XCode 11.7 with 10.4.1 and it seems to work. I was able to compile some apps targeted to macOS, iOS, iPadOS and Android without problems, and they all include SQLite embedded DBs deployments. All this seems to work.
  11. sjordi

    10.4.1 Released today

    I confirm again that the Migration Tool is useless. Just reinstalled 10.4.1 from a clean VM and installed my tools, etc.. then ran the migration to copy the 10.4 settings over 10.4.1 All paths are still not configured, toolbars are out of the box, not the ones I had in 10.4 Useless.
  12. sjordi

    10.4.1 Released today

    XCode 11.6 or XCode 11.7 released today?
  13. sjordi

    10.4.1 Released today

    I have tried to use the web installer right in my current VM with 10.4 It fails to uninstall a lot of things, then fails to upgrade correctly. So back to the empty VM and installing everything from scratch. Again.
  14. sjordi

    10.4.1 Released today

    Full install from scratch or the promised upgrade path on top of 10.4 ? Any idea?
  15. sjordi

    FireDAC SQLite error upon table open

    Use the FDConnection BeforeConnect event procedure TdbModule.fdConnectionBeforeConnect(Sender: TObject); {$IF DEFINED(MACOS)} var resourcesPath : String ; newPath : String ; position : Integer ; {$ENDIF)} begin // Get the correct Win, OSX, iOS or Android DB path fdConnection.Params.Values['Database'] := 'mydb.s3db' ; {$IF DEFINED(iOS) or DEFINED(ANDROID)} fdConnection.Params.Values['ColumnMetadataSupported'] := 'False' ; fdConnection.Params.Values['Database'] := TPath.Combine(TPath.GetDocumentsPath, 'mydb.s3db') ; {$ELSEIF DEFINED(MACOS)} resourcesPath := paramstr(0) ; position := Pos( '/Contents', resourcesPath ) ; newPath := paramstr(0).SubString(0, position )+'Contents/Resources/mydb.s3db' ; fdConnection.Params.Values['Database']:= newPath ; {$ENDIF} end; Don't forget to add the db to the Project Deployment window and set Remote Path for each platform: macOS: Contents\Resources\ iOS: StartUp\Documents\ (this one will show up the DB in FileSharing under iTunes or your device finder - You can download, erase, add the file to the app) iOS: Library/Application Support/[your app directory] for files you want accessible from your app but not from the user (not shared) Android: .\assets\internal
×