We're developing a program with CameraControl.Devices. We are using Canon camera's.
When we capture with multiple camera's, the last ICameraDevice.TransferFile call causes the following error:
See viewtopic.php?t=332Managed Debugging Assistant 'CallbackOnCollectedDelegate' has detected a problem in "C:\path\to\app.exe"
Additional information: A callback was made on a garbage collected delegate of type 'Canon.Eos.Framework!Canon.Eos.Framework.Internal.SDK.Edsdk+EdsProgressCallback::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.
And https://social.msdn.microsoft.com/Forum ... delegate-c
Do you have any idea where this comes from? Some things I can check?
If needed i'll post more info.
Kind regards,
Andreas F