Comments (3)
Replace CoInitialize
in main.cc with OleInitialize
. Drag&Drop on windows requires OLE. I think the readme needs to be updated.
from super_native_extensions.
I had the same issue, and did the following to fix it:
- Find the
main.cpp
file (windows/runner/main.cpp
in your project folder) - find the like with
::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
, and change it to::OleInitialize(nullptr);
Please correct me if I should have fixed it differently, but this has worked for me.
from super_native_extensions.
That is the correct solution, however after #51 it should be no longer needed.
from super_native_extensions.
Related Issues (20)
- android build fail without upgrade HOT 6
- [super_clipboard] ctrl+v after restart machine with did not ctrl+c/copy operation would make app crash HOT 1
- [Android][deprecation] view.startDrag(ClipData,DragShadowBuilder,Object,int) is deprecation in sdk 24 use view.startDragAndDrop instead HOT 2
- [super_context_menu] On Linux, when having a `image` in a MenuAction, it results in a black screen. HOT 1
- Build failed with an exception: Execution failed for task ':app:checkDebugDuplicateClasses'. HOT 2
- super_drag_drop not working on Android HOT 1
- flutter macos release build error HOT 2
- [super_context_menu] On macos, How to get the notification of onmenushow HOT 2
- [ super_drag_and_drop ] macOS ONLY bug, seems like MouseRegion is broken if dragconfig completes after onPointerUp triggered HOT 13
- [super_clipboard] Can't build as a flutter module HOT 6
- could not compile `time` (lib) due to 1 previous error HOT 6
- I hope to provide a function to get the absolute path of the file in DataReaderFile(reader.dart) HOT 1
- ContextMenuWidget child appears when scrolling HOT 3
- Remove context menu shadow HOT 4
- Starting the app stalls on "Installing NDK 23.1.7779620" after installing rustup on windows HOT 2
- can't compile ios build in github actions HOT 6
- Issue when using super_context_menu with flutter_markdown as a child HOT 6
- CustomValueFormat not supported on web? HOT 1
- Wasm compilation fails because of `html` package usage HOT 2
- Drag text to Windows remote desktop window?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super_native_extensions.