chrisben wrote:
Even for a dll file, if not a COM, can we use it in C#? If we could,
is there any sample project which show the way to do it? Thanks
I have a managed C++ class that calls AdjustTokenPrivileges, from the
MS Win32 call list.
I just use (my namespace is ACLabLoginUtil)
using ACLabLoginUtil
and that allows my C# program to use the C++ functions.
I had to include the file in my project though, as a reference, but
that was it.