G
Guest
Hello
I have created an ATL in VC++ and want to call the function from a click of
a button on C# ASP.NET. I was able to reference my DLL file in ASPX, but
unfortunately it has two CHAR inputs and one VARIANT* output.
How do I call this function that returns a value in C# ASP.NET. Thank you
very much in advance. Here is what I did so far.
// Call the ATL function
Connections.CConnSetClass Dconn = new Connections.CConnSetClass();
Dconn.VerifyPassword(Convert.ToSByte(txtSerialNum.Text),Convert.ToSByte(txtPassword.Text), strResult);
it does not like the return value strResult.
I have created an ATL in VC++ and want to call the function from a click of
a button on C# ASP.NET. I was able to reference my DLL file in ASPX, but
unfortunately it has two CHAR inputs and one VARIANT* output.
How do I call this function that returns a value in C# ASP.NET. Thank you
very much in advance. Here is what I did so far.
// Call the ATL function
Connections.CConnSetClass Dconn = new Connections.CConnSetClass();
Dconn.VerifyPassword(Convert.ToSByte(txtSerialNum.Text),Convert.ToSByte(txtPassword.Text), strResult);
it does not like the return value strResult.