[Prev][Next][Index][Thread]

Re: Problem with draw-image and HD 1.2



Chris Double <chris@double.co.nz> writes:

> This compiled, but when run I got an error saying that the above
> method "cannot be added to the generic function draw-image because
> it is blocked by the sealed domain over <win32-medium>, <image>,
> <object>, <object> in <library>. Oops!"

As a followup, this problem does not occur with the recent Functional
Developer beta. Specialising it as the following works fine:

  define method draw-image( m :: <win32-medium>, 
    image :: <windows-bitmap>, x, y) => (record) /* etc */ end;

Chris.
-- 
http://www.double.co.nz/dylan



References: