in our app we r interacting with c dll's provided by the third party vendor.
to reference the dll we are using 'public declare'. there is one function in the dll which does a callback to one of our vb procedure. we pass the address of this vb procedure as an argumant to the dll function.
when the callback comes general exception error is raised 'Cannot write to memory'
thanks in advance