object.Object to void*

jicman cabrera at wrc.xerox.com
Fri Aug 24 22:57:04 PDT 2007


Greetings.

After upgrading dmd to v1.018, I am getting this error,

C:\cygwin\home\us319318\source\d\jic\libs\COM\Object.d(326): Error: cannot implicitly convert expression (value) of type object.Object to void*

which worked fine with version 1.009.  Here is the code that is causing this problem,

  static VARIANT opCall(Object value) {
    VARIANT v;
    return v.vt = VT_BYREF,
      v.byref = value,
      v;
  }

How can I fix this?  Sorry if this has been posted before, but I could not find this in digitalmars site.

thanks,

jic


More information about the Digitalmars-d-learn mailing list