[DllImport("AESDLL.dll",CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
private static extern void EncryptString(
String cData,
[MarshalAs(UnmanagedType.LPArray)]byte[] buffer,
int nSize,
int iMode,
String pass
);
const int MAX_SIZE = 1000000;
byte[] buffer = new byte[MAX_SIZE * 2];
ASKER
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
ASKER
Private Declare Sub MyFunc Lib "MyDLL.dll" (ByVal cData As String, ByVal output As String, ByVal Size As Long, ByVal iMode As Integer, ByVal password As String)