View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Martin[_29_] Martin[_29_] is offline
external usenet poster
 
Posts: 5
Default Passing an Excel Range object to C++ DLL

Hello,
I want to pass an excel selection to a C++ dll in order to get a result
an display it in a cell.
I could allready do it by copying the content of the Range object into
a Double array that is passed by reference to the dll.
Now I would like to avoid the copy, and pass the Range object by
reference to the C++ dll.

Is there a corresponding C++ type (and associated utility functions)
for maniuplating the Range object?

Any link to detailed documentation/example would be appreciated (I do
know really few concerning COM).

Thanks in advance
Martin