hi,
I previously had C#2008 express + SQL2008 + USB drivers installed, working. I switched laptops and upgraded to C# 2010 with the same SQL 2008 and same USB drivers. I'm now getting the following error:
PInvokeStackImb alance was detected
Message: A call to PInvoke function 'Central_xxxxxx !usb_api.usb_in terface::_MPUSB Open' 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.
I don't see what's changed..could it be something in C#2010? or perhaps .NET 4.0?
Thanks in advance,
Enrique
I previously had C#2008 express + SQL2008 + USB drivers installed, working. I switched laptops and upgraded to C# 2010 with the same SQL 2008 and same USB drivers. I'm now getting the following error:
PInvokeStackImb alance was detected
Message: A call to PInvoke function 'Central_xxxxxx !usb_api.usb_in terface::_MPUSB Open' 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.
I don't see what's changed..could it be something in C#2010? or perhaps .NET 4.0?
Thanks in advance,
Enrique
Comment