V
vermin
Good morning.
I have received a dll with an encrypting function I have to use in a asp.net
page.
I can't import it correctly. In classic asp I use the method I want in this
way:
<%
Set x = Server.CreateObject("BitamEncrypt.clsEncrypt")
If Not x Is Nothing Then
Response.Write x.Encrypt("hola")
End If
%>
This works correctly and the string is encrypted. When writing it asp.net
I'm having some problems. I am using dllImport:
[System.Runtime.InteropServices.DllImport("BitamEncrypt.dll",
EntryPoint="clsEncrypt.Encrypt")]
internal static extern string Encrypt(string a);
When invoking the Encrypt method I get an EntryPointNotFoundException. I
also get it if I declare the Entrypont parameter like this:
EntryPoint="Encrypt".
Any idea to solve this??
Thanks a lot!!
I have received a dll with an encrypting function I have to use in a asp.net
page.
I can't import it correctly. In classic asp I use the method I want in this
way:
<%
Set x = Server.CreateObject("BitamEncrypt.clsEncrypt")
If Not x Is Nothing Then
Response.Write x.Encrypt("hola")
End If
%>
This works correctly and the string is encrypted. When writing it asp.net
I'm having some problems. I am using dllImport:
[System.Runtime.InteropServices.DllImport("BitamEncrypt.dll",
EntryPoint="clsEncrypt.Encrypt")]
internal static extern string Encrypt(string a);
When invoking the Encrypt method I get an EntryPointNotFoundException. I
also get it if I declare the Entrypont parameter like this:
EntryPoint="Encrypt".
Any idea to solve this??
Thanks a lot!!