Replies: 1 comment
-
Hope Flutter repo would open up |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
I'm trying Dart callback within
connectivity_windows
, viaIConnectionPoint
Advise/Unadvisehttps://github.com/Sunbreak/plugins/blob/6b6b2b0f82bc677228c5a3f2338281e1a9a7f878/packages/connectivity/connectivity_windows/lib/connectivity_windows.dart
Problem
I'm stuck with native crash at https://github.com/Sunbreak/plugins/blob/6b6b2b0f82bc677228c5a3f2338281e1a9a7f878/packages/connectivity/connectivity_windows/lib/interface_windows.dart#L46
ptr.ref.lpVtbl.value = eventsVtblPtr.address;
Expect
According to
COMObject
andIUnknown
implementation,ptr.ref.lpVtbl.value = eventsVtblPtr.address;
should be OKhttps://github.com/timsneath/win32/blob/529b3c02accf6da255c342f89ab6f24b22cc263c/lib/src/combase.dart#L21-L25
https://github.com/timsneath/win32/blob/529b3c02accf6da255c342f89ab6f24b22cc263c/lib/src/com/IUnknown.dart#L43-L46
Beta Was this translation helpful? Give feedback.
All reactions