There are times that you need to call native (C/C++) code from .NET environment. To do so, you have several options: use C++/CLI, use P/Invoke mechanism, use some sort of inter-process communication like pipes, memory mapped files etc persuade yourself that it's gonna be easy to port this cool C/C++ library to C#. Shoot yourself in the head when trying to do it. We will discuss option 2.

Tagi: .Net, C#, pinvoke
Dziel się z innymi:
[EN] Passing struct array in struct via P/Invoke

Inne 2908 dni, 3 godziny, 3 minuty temu Krzysztof Zmorzyński 52 pokaż kod licznika zwiń

Wczytywanie artykułów...