Hello,
I have a .NET dll looks like following. After I register it in WM by WmDotNet package, there is only Hello() service I can invoke, there is no Class1 Constructor I can initialize the object.
public class Class1
{
private string str = “” ;
public Class1(string x)
{
str = x;
}
public string Hello()
{
return str;
}
}
Anyone can give me a help?
Thanks in advance,
Shuren