System guid is not an attribute class Error Message
To solve, include "using System.Runtime.InteropServices;" for c#
Showing posts with label Visual Studio Error. Show all posts
Showing posts with label Visual Studio Error. Show all posts
Friday, 5 November 2010
Monday, 18 October 2010
PInvoke Error Solution
I had a problem with this Error Message.
If you change the target framework to .net Framework 3.5 or less, you will not see this error.
Reference MS page : http://msdn.microsoft.com/en-us/library/ff361650%28v=VS.100%29.aspx
Another post : http://blogs.msdn.com/b/davidklinems/archive/2006/02/03/524471.aspx
DeviceManager.CHapticRemocon::InitComm'에 대한 호출 결과 스택이 불안정하게 되었습니다. 관리되는 PInvoke 시그니처와 관리되지 않는 대상 시그니처가 일치하지 않기 때문인 것 같습니다. 호출 규칙 및 PInvoke 시그니처의 매개 변수와 관리되지 않는 대상 시그니처가 일치하는지 확인하십시오.In English
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problemThe reason why this error occurs is Window .net Framework 4.0.
If you change the target framework to .net Framework 3.5 or less, you will not see this error.
Reference MS page : http://msdn.microsoft.com/en-us/library/ff361650%28v=VS.100%29.aspx
Another post : http://blogs.msdn.com/b/davidklinems/archive/2006/02/03/524471.aspx
Subscribe to:
Posts (Atom)
