-Original Message-
From: Rick Morningstar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] InterOp and Safearrays
From: Richard A Morningstar
The imported interop code was:
MethodA([in] Object marshal(SafeArray Variant) saUnks) .
Morningstar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] InterOp and Safearrays
From: Richard A Morningstar
The imported interop code was:
MethodA([in] Object marshal(SafeArray Variant) saUnks) ...;
This is correct?
Adam Nathan
D]>
Sent by: dotnet discussion <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Re: [DOTNET] InterOp and Safearrays
You shouldn't be modifying the signature in this case because you're
treating a single VARIANT (that should contain an array of VARIANTs) as
an array of V
al Message-
From: Rick Morningstar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 9:44 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] InterOp and Safearrays
From: Richard A Morningstar
I have a legacy COM Object with a signature like te following:
HRESULT MethodA([in] VARIANT saUnks);
From: Richard A Morningstar
I have a legacy COM Object with a signature like te following:
HRESULT MethodA([in] VARIANT saUnks);
Where this variant is a SafeArray of Variants (where each variant in the
SafeArray is of type VT_IUNKOWN).
I have modified the generated Interop assemblyas follows