Passing structure through variant
-
Hi all, I want to pass a userdefined structure using variant from a COM client to COM server. Can any one help me?... Regards Arun
-
Hi all, I want to pass a userdefined structure using variant from a COM client to COM server. Can any one help me?... Regards Arun
-
Thanks for the reply. I already got this article.But recordinfo failure occurs at that time. Do u have any example?. Now i can pass the structure to the COM server without using VARIANT.
-
Thanks for the reply. I already got this article.But recordinfo failure occurs at that time. Do u have any example?. Now i can pass the structure to the COM server without using VARIANT.
Arun Menon wrote:
But recordinfo failure occurs at that time
What kind of error is this?
Arun Menon wrote:
Now i can pass the structure to the COM server without using VARIANT.
As said earlier and shown in article, use idl to declare structure as interface. You can use it as function parameter.