Skip to content

FFI plugins should be able to access system dlls in sandbox #114676

@dcharkes

Description

@dcharkes

flutter create --template plugin_ffi --platform=windows + flutter build windows --release requires manually copying system dlls.

This is rather undesirable.

We should investigate how to allow opening system dlls from the sandbox.

The flutter create --template=ffi_plugin --platform=windows does work in the sandbox?

So I created a plugin using this command, cd to the example folder, ran flutter build windows --release, and then copied the Release folder that contains the executable into the sandbox, and see for yourself that it complains first about system32 dlls:
image

Now I will copy the dlls and run the app again:

image

Originally posted by @Haidar0096 in #114641 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy