• Dllimport Attribute

Dllimport는 윈도우 api를 사용할 때 주로 사용된다.

[DllImport("user32.dll")]

public static extern int MessageBox(int hWnd, string lpText, string lpCaption, int uType);

'ByteCode > C#' 카테고리의 다른 글

Get/Set Property  (1) 2010.03.18
Exception  (0) 2010.03.18
Event  (1) 2010.03.18
Invoke 개념 이해하기  (0) 2010.03.18
파일 관리  (0) 2010.03.18

+ Recent posts