-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the vk.net wiki!
I've decided to use managed pointers (IntPtr) instead of unsafe native pointers (type*) for most of structure members and function parameters mainly to keep full control of pinning windows in the client application. The idea is that lots of structure members may serve as high level api data store, so having pinned members mixed with value types maintained through the main application life cycle could go against the recommendation that states that we should minimize time frame of pinned object that may interfere with normal clr runtime memory management. Vke.net is an implementation of higher classes that take care of this choice for encapsulating native structures and objects while offering a clean and simple api.