i have one application which calls one function from dll.
that dll invokes one delegate for capturing fingerprint.
but after 4-5 capture i m getting error..
A callback was made on a garbage collected delegate of type 'SOSComp!CG4Essentials.APIWrapper+CG4_CallbackResultImage::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.
SSO is my dll and CallbackResultImage is my delegate.
I have goggled this problem and got some solutions
i made my delegate declaration as static and also initializing it at every call of function. But still getting same error.
please help me...
god bless u all..
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)