Showing tag results for Code

Apr 24, 2015
Post comments count0
Post likes count0

Why can't I have variadic COM methods?

Raymond Chen
Raymond Chen

COM methods cannot be variadic. Why not? Answer: Because the marshaler doesn't know when to stop. Suppose variadic COM methods were possible. And then you wrote this code: How would COM know how to marshal this function call? In other words, suppose that is a pointer to a proxy that refers to an object in another process. The COM marshaler...

Code