GCHandle, AppDomains managed code and 3rd party dll
问题 I have looking at many threads about the exception "cannot pass a GCHandle across AppDomains" but I still don't get it.... I'm working with an RFID Reader which is driven by a DLL. I don't have source code for this DLL but only a sample to show how to use it. The sample works great but I have to copy some code in another project to add the reader to the middleware Microsoft Biztalk. The problem is that the process of Microsoft Biztalk works in another AppDomain. The reader handle events when