'System.Runtime.InteropServices.DllImportAttribute'는 'Declare'에 적용할 수 없습니다.
업데이트: 2007년 11월
'System.Runtime.InteropServices.DllImportAttribute' cannot be applied to a 'Declare'
DllImportAttribute 특성을 Declare 함수에 적용했습니다. 이 특성은 비어 있는 Function 또는 Sub에만 사용할 수 있습니다.
오류 ID: BC31523
이 오류를 해결하려면
- Declare 문에서 DllImportAttribute 특성을 제거합니다.