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 2697 dni, 22 godziny, 28 minut temu Krzysztof Zmorzyński 48 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu