How to spawn process C++ from C#?

435 views Asked by At

I've a library in C++ to run a string matching (PFAC library)PFAC-lib. How do i run this library from WinForm C#?

I also used managedCuda to run cuda code from my C#. Any idea?

1

There are 1 answers

3
Courtney The coder On BEST ANSWER

"PFAC library provides C-style API. Programmers can link the library to C/C++ code or other language."

You should be able to dllimport the parts you need for the code to work.

but you might have a hard time as i just looked at the struct create needs. good luck