B
bengamin
a ActiveX Control Written by VC++6.0
try to Calling from .net client
use aximp to create An Assembly and reference from c# code
I try to write a C# program to call this Assembly's function
the c# program looks like :
private void Form1_Load(object sender, System.EventArgs e)
{
JITSECURITYTOOLLib.JITSecurityToolClass a = new
JITSECURITYTOOLLib.JITSecurityToolClass();
int b = a.initcontrol();
label1.Text = a.ToString();
}
I always get an exception called "NotSupportedException" when it step into
"int b = a.initcontrol();"
Any idea about this?
Thanks!
xiao sai
try to Calling from .net client
use aximp to create An Assembly and reference from c# code
I try to write a C# program to call this Assembly's function
the c# program looks like :
private void Form1_Load(object sender, System.EventArgs e)
{
JITSECURITYTOOLLib.JITSecurityToolClass a = new
JITSECURITYTOOLLib.JITSecurityToolClass();
int b = a.initcontrol();
label1.Text = a.ToString();
}
I always get an exception called "NotSupportedException" when it step into
"int b = a.initcontrol();"
Any idea about this?
Thanks!
xiao sai