https://bugs.winehq.org/show_bug.cgi?id=41040 Bug ID: 41040 Summary: VariantChangeTypeEx lead to error when casting IUnknown(nil) -> IDispatch Product: Wine Version: 1.9.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs(a)winehq.org Reporter: alexeev(a)krista.ru Distribution: --- Sample Delphi code, works well on Windows var unk: IUnknown; V: Variant; begin unk := nil; V := VarAsType(unk, varDispatch); // type error here in wine end; -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.