return array of string from C# in activeX to vbscript

L

leekent

I need to write an activeX object to be installed on client machine
which will be called using vbscript in web pages. The activeX will be
writen in C#, and I need to return an array of strings. I tried to
implement the following interface and it seems to be working in VB
Client but not in VBScript.

public interface AxMyControl
{
[return:MarshalAs(UnmanagedType.SafeArray)]
String[] getMyStringList();
}


Any suggestions? Thanks!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top