2012-07-03 C#でC DLLの関数を呼ぶ場合(Win32APIとか) 黙って using System.Runtime.InteropServices; 。 これ忘れるとDllImport属性が使えない。