Hi
I keep getting this error
A call to PInvoke function ‘Prototype!Prototype.CLEyeCameraDevice::CLEyeGetCameraUUID’ 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.
When i try to use the CLEyeCameraDevice.
This only happens in 4.0 applications, not in v3.5
Anyone got a clue why this is happening?
SOLUTION:
Import dll external like so
[DllImport("CLEyeMulticam.dll", CallingConvention = CallingConvention.Cdecl)]