.lib and .h to .dll (likely using a .def file)

Viewed 314

So I am given a .lib and .h and need to make it callable from Matlab. I have been researching various ways to do this and it seems using Matlab's loadlibrary is the best way to go.

Therefore, I need to create a .dll from this .lib and its .h. I do not have access to the implementation of the .lib but do have access to the .h. According to this post: Converting static link library to dynamic dll it says creating a .def is the best route. However, I have had issues finding resources on how to create a .def file and then use the .def file to create the .dll.

Can anyone offer any advice on how to do this?

Thanks

0 Answers
Related