this article have thorough explaination of how to import unmanaged dll into .NET code and use it.
http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/
using System.Runtime.InteropServices; // DllImport
public class Win32 {
[DllImport("User32.Dll")]
public static extern void SetWindowText(int h, String s);
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment