Hey,
I am required to pass some sort of identifier to unmanaged code which then processes a request and calls back into my managed code once it has done some processing.
I was wondering whether it would be better to create a GCHandle and pass it to the unmanaged code to then recover the object once the unmanaged code passes the GCHandle back or whether it would be better to create a global dictionary of (say integers) which associate the object with that said key.
Thanks for the help!
Till