Welcome to MSDN Blogs Sign in | Join | Help

April 2007 - Posts

How to return String-Arrays from C++ COM component to C#?

Want to return an array of strings from native COM component to managed code? You need to declare the string array as SAFEARRAY(VARIANT) in the COM code. IDL for the function that returns the array of strings for the COM component would look like, [ id

Rent the OS

Wouldn't it be nice if we could make our OS pay-per-use? We could rent our OS and all the required programs and let the customer pay per day or month as per his usage. We could host all our office programs, all our OS on Windows Live and let the users
 
Page view tracker