[Bug 41040] New: VariantChangeTypeEx lead to error when casting IUnknown( nil) -> IDispatch

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 2 02:42:49 CDT 2016


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 at winehq.org
          Reporter: alexeev at 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.



More information about the wine-bugs mailing list