.lib and .h in .dll (probably using .def file)

So, I was given .lib and .h and need to make it callable from Matlab. I've been looking into various ways to do this, and it seems like using Matlab loadlibrary is the best way.

So I need to create a .dll from this .lib and its .h. I don't have access to the .lib implementation, but I do have access to .h. As per this post: Converting a static link library to a dynamic dll says creating a .def is the best route. However, I am having trouble finding resources on how to create a .def file and then use the .def file to create a .dll.

Can anyone suggest any advice on how to do this?

thank

+3


source to share





All Articles