[plt-scheme] MysterX and ImageMagick COM object

From: Paul Steckler (steck at stecksoft.com)
Date: Thu Jul 24 08:32:10 EDT 2003

> This avoids attempting a direct call through the COM function 
> pointer, when a vararg function is being invoked.

I'm not sure that's necessary.  As the IDL shows, there's a 
fixed number of arguments to push on the stack -- a pointer to a 

> The change here calls 
> buildMethodArgumentsUsingDefaults if a vararg function is 
> being invoked.

This approach smears the arguments into the vector of arguments 
used by IDispatch::Invoke().  Does MS say this is what to do 
SAFEARRAYs in general?  

-- Paul

Posted on the users mailing list.