HighTechTalks DotNet Forums  

Marshalling a conformant array of variants into a Com shim....

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Marshalling a conformant array of variants into a Com shim.... in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
lab27
 
Posts: n/a

Default Marshalling a conformant array of variants into a Com shim.... - 08-18-2009 , 03:57 AM






Hi all,

I've got an existing com interface which I need to implement - the
caller passes a conformant array of variants to the callee

IFoo
{

}

Reply With Quote
  #2  
Old   
lab27
 
Posts: n/a

Default Re: Marshalling a conformant array of variants into a Com shim.... - 08-18-2009 , 04:03 AM






** Damnit, browser SNAFU! Sorry for multiple posts! **

Anyway -

I've got an existing com interface which I need to implement, the
caller passes a conformant array of variants to the callee -

IFoo
{
HRESULT Call([in, size_is(nargs)] VARIANT * pargs, [in] long nargs,
[out, retval] VARIANT * pretVar)
}

Have several existing C++ com servers which implement this, but I'd
like to implement it in .NET. (Specifically F#, but any .net language
will do for a start )

The interop assembly interface (which I need to implement to get the
QIs generated for me) ends up looking like

object Call( ref object pargs, int nargs)

which isn't too surprising, but not too useful.

Any idea if this is achievable?

Cheers,

Lee.

On Aug 18, 9:57*am, lab27 <lee.benfi... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,

I've got an existing com interface which I need to implement - the
caller passes a conformant array of variants to the callee

IFoo
{



}- Hide quoted text -

- Show quoted text -

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.