I do not understand how to use the IUnknown interface. Is the IUnknown interface designed only for working with COM / COM + objects and some unmanaged codes such as the Win API?
COM interfaces are mainly used by unmanaged code. If you need C #, which you write to interact with unmanaged code, you can export it as COM interfaces:
COM Interop with C #
IUnknown is usually the base class for COM objects.
In the context of C # and .NET, yes. You should use IUnknown for COM only.
IUnknown - COM/COM+. .NET, #.
Source: https://habr.com/ru/post/1719826/More articles:диалог javascript над флеш-фильмом - javascriptCocoa -Touch, Core Data: Linker Error, NSManagedObject not found - objective-cHow to store pairs of simple names in the ldap directory - ldapЧто именно делает утилита "ar"? - cData Structures for Real-Time Applications - c ++Hashing algorithm for dates - dateWPF Animation Pause/Продолжить - animationHow to grab unbuffered output from stdout without changing a program? - cpython: анализировать HTTP-запрос POST с загрузкой файла и дополнительными параметрами - pythonHow to programmatically edit a datagridview cell value in virtual mode? - c #All Articles