Calling unmanaged dlls dynamically in C#.NET
Actually I have an application(dll) written in VC++.
That dll I want to call in C#.NET dynamically..
Can anybody help on this....ASAP..
Thanks,
Saru
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Daniel Innala Ahlmark25 pointsPosted Oct 22, 2008, 4:25 AM EDT
[DllImport("msvcrt.dll")] public static extern int puts(string c); Then you can call the function. Check out: Platform Invoke Tutorial Regards, DanielDaniel Innala Ahlmark25 pointsPosted Oct 22, 2008, 4:25 AM EDT
[DllImport("msvcrt.dll")] public static extern int puts(string c); Then you can call the function. Check out: Platform Invoke Tutorial Regards, Daniel