How to pass HashTableto .net in C ++ using interop?
HashTable
I know how to pass primitive types, but I need to know how to pass others.
You cannot pass the whole object that will be used as a hash table in C ++. P / invoke translates the .NET type into a C ++ type that it can understand. For example, it is Stringconverted to LPWSTR( wchar_t *). However, he cannot transform something like HashSetthat in this way.
String
LPWSTR
wchar_t *
HashSet
You can not.
++, Hashtable ( void*, )
void*
++ struct hashtable, struct #, struct.
struct
hashtable
Source: https://habr.com/ru/post/1773612/More articles:Как найти все файлы с одним контентом? - filesystemsUse the button on the HTML page to invoke xcode IBAction - htmlКак создать пользовательские имена функций в gedit? - linuxSearch Problem with Map Lists - c ++Window for positioning problems when using SetParent () - c #What is the use of incremental SLR parser generator? - parser-generatorHow to create a multi-color square grid in OpenGL ES 2.0? - opengl-eshow to parse a string with html tags in substrings in bold, italics, underlined - htmlWhat are my md5 bits? - cryptographySQL sum () at different periods? - sqlAll Articles