WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

Impossible to call COM-methods that expect NULL as interface pointer.

Open pontusn opened this issue 5 years ago • 1 comments

Impossible to call COM-methods that expect NULL as interface pointer. Sofar we have worked around problem by passing COM-objects also for optional parameters.

Possibly we can work around this problem in ATL/C++ by altering call parameters in IDispatch-implementstion. There is probably some confusion between VT_NULL, VT_EMPTY and VT_ERROR.

Version SDK: GA 1.0.622.22 Runtime: WebView2 Runtime GA Framework: Win32 OS: All

AB#29930251

pontusn avatar Oct 22 '20 15:10 pontusn

Thanks for reporting, I've opened a bug on our backlog and we'll take a look!

champnic avatar Oct 22 '20 20:10 champnic