[plt-scheme] MysterX and ImageMagick COM object

From: Paul Steckler (steck at stecksoft.com)
Date: Wed Jul 23 07:45:09 EDT 2003

> In DrScheme I try
>   (define im (cci/progid "ImageMagickObject.MagickImage"))
>   (com-invoke im "Convert" "C:\\arf.bmp" "C:\\arf.jpg")
>   com-invoke (method "Convert"): expects type <com-0x401b> as 3rd 
>   argument, given: "C:\\arf.bmp"; other arguments were: #<com-object>
>   "Convert"a "C:\\arf.jpg"
> 0x401b is a VT_SAFEARRAY, so I guess I need to know how, if 
> possible, to create that in DrScheme.

I believe you need to create a vector, although I'm not sure 
of its contents.  What do you get from

  (com-method-type im "Convert")

? That may give a clue.

-- Paul

Posted on the users mailing list.