Hey,
In C++, I can create a dll where if used in vb, the functions have to be declared. (The Windows dll)
Can I do that in C#??
Thanks,
Printable View
Hey,
In C++, I can create a dll where if used in vb, the functions have to be declared. (The Windows dll)
Can I do that in C#??
Thanks,
Could use something like the following:
PhreakPHP Code:using System;
using System.Runtime.InteropServices;
[DllImport("my_dll.dll")]
//assuming LONG is the return type of your function in the DLL
public static extern long MyFunction(string myString, long MyLong);
//...
static void main(string args[])
{
long bla;
bla = MyFunction("bla", bla);
}
Not what he asked.
The answer is no.