c# - Call C++ Native DLL in Managed Code -


this question has answer here:

i have native c++ dll, header file , lib file. want create managed wrapper of it. not have source code of dll. how can call/used in c# or c++ managed code. here header file

thanks, adil

if you've got dll's header, can use dllimport (you can use without have been more complicated)

this allow specify method you'll able call in managed code match 1 of in dll.

you'll have little work though, have tell c# compiler type use match c++ ones


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -