This project is read-only.

Dotnet 4 taskdialog error

Topics: Developer Forum, Project Management Forum
Apr 18, 2015 at 6:26 PM
Edited Apr 21, 2015 at 10:21 AM
I use this project to c# 2010.
My project properties set Dotnet 3.5 and show taskdialog no problem if
set project properties Dotnet 4 and show taskdialog no problem and close taskdialog
show compiler warning:
A call to PInvoke function 'WindowsFormsAero!WindowsFormsAero.Dwm.NativeMethods::DwmExtendFrameIntoClientArea' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
Why show this exception?
Thanks Gabee.