c# - Call C++ Native DLL in Managed Code -
this question has answer here:
- c++/cli mixed mode dll creation 6 answers
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
Post a Comment