Alexander Vasilevsky wrote:
Is there a way to transfer C# Hashtable object to unmanage part of the
application in C++?
The only data type they have in common is the array. You could marshal .Keys
and .Values separately. Modifying the hashtable from unmanaged code is right
out. (Theoretically you could implement a custom marshaler, but this is a
lot of hard work and probably not worth it.)
You could do it much more easily from managed C++, of course, since that
would be able to use the hashtable type directly.
--
J.