#disabling drag-and-drop

6 messages · Page 1 of 1 (latest)

crimson raven
#

I'm currently using a crate as a Resource somewhere, and that crate uses com at some point, since the crate, as a resource, gets initialized before the window, I crash with this error

thread 'main' panicked at C:\Users\uae56\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winit-0.30.5\src\platform_impl\windows\window.rs:1179:17:                                                                                         
OleInitialize failed! Result was: RPC_E_CHANGED_MODE. Make sure other crates are not using multithreaded COM library on the same thread or disable drag and drop support.

so, I want to disable drag-and-drop since I don't intend to use it anyway, but I am not sure how.

empty pulsar
#

Not familiar with the crate, but I would assume you need to specify which features you're using of the crate in you Cargo.toml

fathom sky
#

Is this Bevy 0.15?

crimson raven
crimson raven
#

I want to disable the drag-and-drop functionality in the winint window