Re: use customized data type in IDispatch.Invoke

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks Igor,


1.

More or less. pRI is still undeclared. And you will have to be careful
how you clean up.

I should declare in this way.

IRecordInfo *pRI;

//shame

2.

Let me summarize what I learned here also from our long discussion.

- automation compatible type is any type which could be represented by
VARIANT;
- struct nested by VARIANT is automation compatible, nested directly is not
automation compatible;
- automation compatible method is parameter/return value are both automation
compatible types;
- automation compatible interface is the interface whose methods containing
are all automation compatible.

Hope all I describes are true. :-)


regards,
George


.