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

xslt - Substring before throwing error -

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

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -